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



Author: matthiasc
Date: Tue Jan  8 03:52:22 2008
New Revision: 19322
URL: http://svn.gnome.org/viewvc/gtk+?rev=19322&view=rev

Log:
2008-01-07  Matthias Clasen  <mclasen redhat com>

        * gtk/gtkassistant.c (remove_page): Be more robust when removing
        the current page.  (#499951, Andreas Sandberg)

2


Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/gtkassistant.c

Modified: branches/gtk-2-12/gtk/gtkassistant.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkassistant.c	(original)
+++ branches/gtk-2-12/gtk/gtkassistant.c	Tue Jan  8 03:52:22 2008
@@ -869,6 +869,9 @@
 	  while (page_node && !GTK_WIDGET_VISIBLE (((GtkAssistantPage *) page_node->data)->page))
 	    page_node = page_node->next;
 
+          if (page_node == element)
+            page_node = page_node->next;
+
 	  if (page_node)
 	    priv->current_page = page_node->data;
 	  else



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