diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-09-09 17:25:51 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-09-11 18:22:18 -0300 |
commit | 787cc5cac5d1950ac57783478279a9135c640995 (patch) | |
tree | 04a1a8f31bbe919ceb5fe4328f535c68ac905d2b | |
parent | 2545e6ed2c42cb4a54dedd6c8bf98234368e0006 (diff) | |
download | glade-787cc5cac5d1950ac57783478279a9135c640995.tar.gz |
Fixed Bug 652655 "Setting entry on combobox moves the widget"
-rw-r--r-- | plugins/gtk+/glade-gtk-box.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gtk+/glade-gtk-box.c b/plugins/gtk+/glade-gtk-box.c index 36d67e18..d41304af 100644 --- a/plugins/gtk+/glade-gtk-box.c +++ b/plugins/gtk+/glade-gtk-box.c @@ -447,6 +447,9 @@ glade_gtk_box_add_child (GladeWidgetAdaptor * adaptor, gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child)); + if (glade_widget_superuser ()) + return; + children = gtk_container_get_children (GTK_CONTAINER (object)); num_children = g_list_length (children); g_list_free (children); |