Use correct type for GDBusServer:active property

It's a boolean, not a string.

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2010-07-28 12:58:04 -04:00
parent 133e87ca87
commit 19ef26c9c5

View 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: