summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtk+/glade-gtk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 6d4e5682..d081035c 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -6656,7 +6656,9 @@ glade_gtk_assistant_set_child_property (GladeWidgetAdaptor *adaptor,
gint pos, size;
gboolean set_current;
- if ((pos = g_value_get_int (value)) < 0);
+ if ((pos = g_value_get_int (value)) < 0) return;
+ if (pos == glade_gtk_assistant_get_page (assistant, widget))
+ return;
set_current = gtk_assistant_get_current_page (assistant) ==
glade_gtk_assistant_get_page (assistant, widget);