gtk+ r19987 - in trunk: . gtk



Author: carlosg
Date: Thu Apr 10 18:16:08 2008
New Revision: 19987
URL: http://svn.gnome.org/viewvc/gtk+?rev=19987&view=rev

Log:
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)


Modified:
   trunk/ChangeLog
   trunk/gtk/gtknotebook.c

Modified: trunk/gtk/gtknotebook.c
==============================================================================
--- trunk/gtk/gtknotebook.c	(original)
+++ trunk/gtk/gtknotebook.c	Thu Apr 10 18:16:08 2008
@@ -2730,7 +2730,6 @@
       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);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]