diff options
author | Denis Washington <denisw@src.gnome.org> | 2011-06-10 10:36:17 +0200 |
---|---|---|
committer | Denis Washington <denisw@src.gnome.org> | 2011-06-10 10:36:17 +0200 |
commit | b210c6d169612ca51a88ed2fe6b74cfa844c112e (patch) | |
tree | aae7a7b47a622c1ea831fdd59364ee3a90d45762 | |
parent | 3370ed0425cfcba76423759c832cea93cb8660da (diff) | |
download | glade-b210c6d169612ca51a88ed2fe6b74cfa844c112e.tar.gz |
Removed call to glade_binding_write() from glade_property_write(), it's already in glade_widget_adaptor_object_write_widget()
This fixes the bug that property binding definitions sometimes appeared
twice in the save output. How could I have overlooked this...
-rw-r--r-- | gladeui/glade-property.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c index 63e922a6..8d383fea 100644 --- a/gladeui/glade-property.c +++ b/gladeui/glade-property.c @@ -1169,7 +1169,6 @@ glade_property_write (GladeProperty * property, { GladeXmlNode *prop_node; gchar *name, *value, *tmp; - GladeBinding *binding; g_return_if_fail (GLADE_IS_PROPERTY (property)); g_return_if_fail (node != NULL); @@ -1233,10 +1232,6 @@ glade_property_write (GladeProperty * property, property->priv->i18n_comment); } - /* Write property's binding if existent */ - if ((binding = glade_property_get_binding (property)) != NULL) - glade_binding_write (binding, context, node); - g_free (name); g_free (value); } |