Use correct type for GDBusServer:active property
authorDavid Zeuthen <davidz@redhat.com>
Wed, 28 Jul 2010 16:58:04 +0000 (12:58 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 28 Jul 2010 16:58:04 +0000 (12:58 -0400)
It's a boolean, not a string.

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusserver.c

index 14f94a6..f9e19b3 100644 (file)
@@ -353,14 +353,14 @@ g_dbus_server_class_init (GDBusServerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ACTIVE,
-                                   g_param_spec_string ("active",
-                                                        P_("Active"),
-                                                        P_("Whether the server is currently active"),
-                                                        NULL,
-                                                        G_PARAM_READABLE |
-                                                        G_PARAM_STATIC_NAME |
-                                                        G_PARAM_STATIC_BLURB |
-                                                        G_PARAM_STATIC_NICK));
+                                   g_param_spec_boolean ("active",
+                                                         P_("Active"),
+                                                         P_("Whether the server is currently active"),
+                                                         FALSE,
+                                                         G_PARAM_READABLE |
+                                                         G_PARAM_STATIC_NAME |
+                                                         G_PARAM_STATIC_BLURB |
+                                                         G_PARAM_STATIC_NICK));
 
   /**
    * GDBusServer:authentication-observer: