gtk+ r19988 - in branches/gtk-2-12: . gtk



Author: carlosg
Date: Thu Apr 10 18:17:44 2008
New Revision: 19988
URL: http://svn.gnome.org/viewvc/gtk+?rev=19988&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:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/gtknotebook.c

Modified: branches/gtk-2-12/gtk/gtknotebook.c
==============================================================================
--- branches/gtk-2-12/gtk/gtknotebook.c	(original)
+++ branches/gtk-2-12/gtk/gtknotebook.c	Thu Apr 10 18:17:44 2008
@@ -2729,7 +2729,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]