[glade] Fixing GladePropertyLabel property type for the "property" property ; -)



commit eb40b5cae57af307a02d6c19c729cbe76afd0f03
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Apr 13 23:11:47 2013 +0900

    Fixing GladePropertyLabel property type for the "property" property ;-)

 gladeui/glade-property-label.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gladeui/glade-property-label.c b/gladeui/glade-property-label.c
index f6a6f01..8ca341b 100644
--- a/gladeui/glade-property-label.c
+++ b/gladeui/glade-property-label.c
@@ -114,9 +114,9 @@ glade_property_label_class_init (GladePropertyLabelClass *class)
 
   g_object_class_install_property
     (gobject_class, PROP_PROPERTY,
-     g_param_spec_string ("property", _("Property"),
+     g_param_spec_object ("property", _("Property"),
                          _("The GladeProperty to display a label for"),
-                         NULL, G_PARAM_READWRITE));
+                         GLADE_TYPE_PROPERTY, G_PARAM_READWRITE));
 
   g_object_class_install_property
       (gobject_class, PROP_PROPERTY_NAME,


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