gtk+ r19321 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19321 - in trunk: . gtk
- Date: Tue, 8 Jan 2008 03:50:29 +0000 (GMT)
Author: matthiasc
Date: Tue Jan 8 03:50:29 2008
New Revision: 19321
URL: http://svn.gnome.org/viewvc/gtk+?rev=19321&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)
Modified:
trunk/ChangeLog
trunk/gtk/gtkassistant.c
Modified: trunk/gtk/gtkassistant.c
==============================================================================
--- trunk/gtk/gtkassistant.c (original)
+++ trunk/gtk/gtkassistant.c Tue Jan 8 03:50:29 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]