GNOME Bugzilla – Bug 101311
manage() is called on Gnome::UI::App
Last modified: 2011-01-16 23:41:44 UTC
When a GnomeApp is loaded from a Glade XML file, I get the following warning: gtkmm-WARNING **: gtkmm: Attempt to call Gtk::manage() on a Gtk::Window, but a Gtk::Window has no parent container to manage its lifetime. I'm attaching a small test case which reproduces the problem. BTW, I also get the following warning: libglademm-WARNING **: murray debug: fallback: BonoboDockItem I guess this is because the menu line that Glade inserts in a GnomeApp is from Bonobo. Perhaps the problem will go away once I install libbonobomm. It is somewhat annoying, though, since I don't think I'm going to explicitly use any Bonobo interface. At least the warning should be more descriptive - I've traced it to that it is issued because libglademm does not find a proper gtkmm type and falls backs on a native C type instead.
Created attachment 13010 [details] Simple test case that issues two warnings
What is that? A tar.gz?
Yes, sorry. I haven't actually tried downloading an attachment before, so I didn't realize that the file name is not preserved.
Re. the manage() warning: 2002-12-16 Murray Cumming <murrayc@usa.net> * libgnomeui/src/app.hg: Used _UNMANAGEABLE gtkmmproc macro to prevent the wrap() macro from using Gtk::manage() on Gnome::UI::App, because it's a top-level window. Re. the debug output: I removed that warning. It shouldn't have been there. It's not a problem.