After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101311 - manage() is called on Gnome::UI::App
manage() is called on Gnome::UI::App
Status: RESOLVED FIXED
Product: libgnomeuimm
Classification: Other
Component: general
git master
Other other
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-12-15 22:14 UTC by Ole Laursen
Modified: 2011-01-16 23:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple test case that issues two warnings (1022 bytes, application/octet-stream)
2002-12-15 22:15 UTC, Ole Laursen
Details

Description Ole Laursen 2002-12-15 22:14:50 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.
Comment 1 Ole Laursen 2002-12-15 22:15:33 UTC
Created attachment 13010 [details]
Simple test case that issues two warnings
Comment 2 Murray Cumming 2002-12-16 13:40:07 UTC
What is that? A tar.gz?
Comment 3 Ole Laursen 2002-12-16 16:11:25 UTC
Yes, sorry. I haven't actually tried downloading an attachment before,
so I didn't realize that the file name is not preserved.
Comment 4 Murray Cumming 2002-12-16 20:49:15 UTC
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.