gtk+ r19593 - in trunk: . gtk



Author: matthiasc
Date: Sat Feb 16 04:09:15 2008
New Revision: 19593
URL: http://svn.gnome.org/viewvc/gtk+?rev=19593&view=rev

Log:
2008-02-15  Matthias Clasen  <mclasen redhat com>

        * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
        a crash with hidden, reorderable tabs.  (#513230,
        Mike Massonnet, patch by Carlos Garnacho)



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

Modified: trunk/gtk/gtknotebook.c
==============================================================================
--- trunk/gtk/gtknotebook.c	(original)
+++ trunk/gtk/gtknotebook.c	Sat Feb 16 04:09:15 2008
@@ -2753,7 +2753,7 @@
   else
     page = notebook->cur_page;
 
-  if (!page)
+  if (!page || !page->tab_label)
     return;
 
   priv->pressed_button = -1;



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