[glade/gbinding] Removed call to glade_binding_write() from glade_property_write(), it's already in glade_widget_adap



commit b210c6d169612ca51a88ed2fe6b74cfa844c112e
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 63e922a..8d383fe 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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]