[glade/gbinding: 11/60] Removed call to glade_binding_write() from glade_property_write(), it's already in glade_widget_adap
- From: Denis Washington <denisw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/gbinding: 11/60] Removed call to glade_binding_write() from glade_property_write(), it's already in glade_widget_adap
- Date: Tue, 13 Dec 2011 07:00:24 +0000 (UTC)
commit 46f2d0cd215e9f545a11972513ebfdba35890d2f
Author: Denis Washington <denisw src gnome org>
Date: Fri Jun 10 10:36:17 2011 +0200
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...
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 49e2b2e..ce892b1 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -1175,7 +1175,6 @@ glade_property_write (GladeProperty * property,
{
GladeXmlNode *prop_node;
gchar *name, *value;
- GladeBinding *binding;
g_return_if_fail (GLADE_IS_PROPERTY (property));
g_return_if_fail (node != NULL);
@@ -1232,10 +1231,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]