[geocode-glib] location: Allow setting properties after construct time



commit d3522b4a7cc857deb0367faf4fbcaed0eb62ed75
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 16 13:24:30 2013 +0200

    location: Allow setting properties after construct time
    
    See also: https://bugs.freedesktop.org/show_bug.cgi?id=69105
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708156

 geocode-glib/geocode-location.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/geocode-location.c b/geocode-glib/geocode-location.c
index 71008e4..1217b7b 100644
--- a/geocode-glib/geocode-location.c
+++ b/geocode-glib/geocode-location.c
@@ -206,7 +206,6 @@ geocode_location_class_init (GeocodeLocationClass *klass)
                                      90.0,
                                      0.0,
                                      G_PARAM_READWRITE |
-                                     G_PARAM_CONSTRUCT_ONLY |
                                      G_PARAM_STATIC_STRINGS);
         g_object_class_install_property (glocation_class, PROP_LATITUDE, pspec);
 
@@ -222,7 +221,6 @@ geocode_location_class_init (GeocodeLocationClass *klass)
                                      180.0,
                                      0.0,
                                      G_PARAM_READWRITE |
-                                     G_PARAM_CONSTRUCT_ONLY |
                                      G_PARAM_STATIC_STRINGS);
         g_object_class_install_property (glocation_class, PROP_LONGITUDE, pspec);
 
@@ -238,7 +236,6 @@ geocode_location_class_init (GeocodeLocationClass *klass)
                                      G_MAXDOUBLE,
                                      GEOCODE_LOCATION_ACCURACY_UNKNOWN,
                                      G_PARAM_READWRITE |
-                                     G_PARAM_CONSTRUCT_ONLY |
                                      G_PARAM_STATIC_STRINGS);
         g_object_class_install_property (glocation_class, PROP_ACCURACY, pspec);
 


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