Be more robust when removing the current page. (#499951, Andreas Sandberg)
2008-01-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkassistant.c (remove_page): Be more robust when removing the current page. (#499951, Andreas Sandberg) svn path=/trunk/; revision=19321
This commit is contained in:
committed by
Matthias Clasen
parent
36348a59f2
commit
781d94f141
@@ -1,3 +1,8 @@
|
||||
2008-01-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkassistant.c (remove_page): Be more robust when removing
|
||||
the current page. (#499951, Andreas Sandberg)
|
||||
|
||||
2008-01-06 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* gtk/gtkspinbutton.c: Declare value in the example code for
|
||||
|
||||
@@ -869,6 +869,9 @@ remove_page (GtkAssistant *assistant,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user