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 340789 - Setting window group in gtk_window_set_transient_for() is broken
Setting window group in gtk_window_set_transient_for() is broken
Status: RESOLVED DUPLICATE of bug 340401
Product: gtk+
Classification: Platform
Component: .General
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-05 23:20 UTC by Yevgen Muntyan
Modified: 2006-05-06 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yevgen Muntyan 2006-05-05 23:20:18 UTC
gtk_window_set_transient_for() sets window group for the child window (see #312918). It doesn't watch parent's window group later on, but gtk_window_destroy tries to remove the child window from the parent's group. So if parent's group is changed, gtk_widget_destroy(child) yields warning. To reproduce, create a window with a combo box or menu inside (those will create a window), then add this window to some window group. (printing dialog works, if it's transient for the parent).
Comment 1 Matthias Clasen 2006-05-06 12:46:13 UTC
alex has a fix for this in bug 340401

*** This bug has been marked as a duplicate of 340401 ***