Den 2015-03-24 03:04, 张海 skrev:
It can be ignored. That comment is out of date. Nowadays it's easy to imagine programs without a Gtk::Main. Most of Gtk::Main is deprecated, and has been replaced by Gtk::Application. The cleanup in Gtk::Main::~Main is not important. It just deallocates some dynamically allocated memory before the program finishes. Gtk::Application::~Application does not do it. The operating system will take care of it when the program has finished.
|