[glade] GladeEditorProperty: Fixed typo which was causing assertions



commit 5420fef2c665bbf0d793342da4aa5d8385a45ecb
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sun Apr 28 18:46:00 2013 +0900

    GladeEditorProperty: Fixed typo which was causing assertions

 gladeui/glade-editor-property.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 7416f0a..7836daa 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -202,7 +202,8 @@ glade_editor_property_get_item_label  (GladeEditorProperty *eprop)
       g_object_ref_sink (eprop->priv->item_label);
 
       if (eprop->priv->property)
-       glade_property_label_set_property (GLADE_PROPERTY_LABEL (eprop), eprop->priv->property);
+       glade_property_label_set_property (GLADE_PROPERTY_LABEL (eprop->priv->item_label),
+                                          eprop->priv->property);
     }
 
   return eprop->priv->item_label;


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