GNOME Bugzilla – Bug 168966
warnings on reparent with GtkMozEmbed
Last modified: 2011-02-04 16:17:41 UTC
Steps to reproduce: 0) Tools->Page Info 1) Visit the Media tab 2) Close the dialogue Warning on console: (epiphany:16722): Gdk-CRITICAL **: gdk_window_get_children: assertion `GDK_IS_WINDOW (window)' failed
+ Trace 56338
This is likely due to the fix for bug 167259. I'm going to look if this is due to gtkmozembed doing something evil in unrealize, or if it's gtk+' fault.
Re-assigning to gtk+ and attaching testcase. GtkMozEmbed is as GtkBin which reparents its child to an (offscreen) GtkFixed on unrealize.
Created attachment 38153 [details] [review] testcase.c Compile with gcc `pkg-config --libs --cflags gtk+-2.0 mozilla-gtkmozembed` -o test test.c run with LD_LIBRARY_PATH=`pkg-config --variable=libdir mozilla-gtkmozembed` ./test Steps to reproduce: 0) Run the testcase 1) Click window border close button Actual results: (Gecko:19620): Gdk-CRITICAL **: gdk_window_get_children: assertion `GDK_IS_WINDOW (window)' failed
2005-03-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): Avoid warnings if gtk_widget_reparent() is called at unusual times. (#168966, Christian Persch)