/* deprecated.cpp */ #include <gtkmm.h> int main(int argc, char** argv) { Gtk::Main kit(argc, argv); Gtk::Window win; kit.run(win); return 0; }
The above program works fine, but unfortunately Gtk::Main is a deprecated class.
http://en.wikipedia.org/wiki/Deprecation
- the term is also used for a feature, design, or practice that is permitted but no longer recommended
- Among the most common reasons for deprecation are:
- The feature has been replaced by a more powerful alternative feature.
- The feature contains a design flaw—frequently a security flaw—and so should be avoided, but existing code depends upon it.
- The feature is considered extraneous, and will be removed in the future in order to simplify the system as a whole.
Isn’t that very interesting if we just replace some of the words with those that are used in ham radio.