forked from AuroraMiddleware/gtk
Do not call gtk_widget_set_parent_window(), using widget->window instead
2008-04-10 Carlos Garnacho <carlos@imendio.com> * gtk/gtknotebook.c (hide_drag_window): Do not call gtk_widget_set_parent_window(), using widget->window instead of NULL to unset is the wrong thing, and gtk_widget_unparent() will already take care of this (#467698, patch by Sébastien Granjoux) svn path=/trunk/; revision=19987
This commit is contained in:
parent
54706dddf8
commit
5f6e577866
@ -1,3 +1,10 @@
|
||||
2008-04-10 Carlos Garnacho <carlos@imendio.com>
|
||||
|
||||
* gtk/gtknotebook.c (hide_drag_window): Do not call
|
||||
gtk_widget_set_parent_window(), using widget->window instead of NULL
|
||||
to unset is the wrong thing, and gtk_widget_unparent() will already
|
||||
take care of this (#467698, patch by Sébastien Granjoux)
|
||||
|
||||
2008-04-08 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
|
||||
|
@ -2730,7 +2730,6 @@ hide_drag_window (GtkNotebook *notebook,
|
||||
else
|
||||
gtk_widget_unparent (page->tab_label);
|
||||
|
||||
gtk_widget_set_parent_window (page->tab_label, widget->window);
|
||||
gtk_widget_set_parent (page->tab_label, widget);
|
||||
g_object_unref (page->tab_label);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user