[glade/gbinding] Add missing GLADE_IS_PROPERTY() check to glade_property_resolve_binding()



commit 625f38ae97af5d3d57a0e94961ac618db0bd0f0f
Author: Denis Washington <denisw src gnome org>
Date:   Tue Aug 23 07:39:07 2011 +0200

    Add missing GLADE_IS_PROPERTY() check to glade_property_resolve_binding()

 gladeui/glade-property.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c
index df5e621..639d863 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -1378,6 +1378,8 @@ glade_property_resolve_binding (GladeProperty *property)
   GladeWidget *source_obj;
   GladeProperty *source_prop;
 
+  g_return_if_fail (GLADE_IS_PROPERTY (property));
+
   source_obj_name = property->priv->binding_source_object_name;
   source_prop_name = property->priv->binding_source_property_name;
 



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