[glib] Use correct type for GDBusServer:active property
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Use correct type for GDBusServer:active property
- Date: Wed, 28 Jul 2010 16:58:31 +0000 (UTC)
commit 19ef26c9c5e088817e2a392f79f343021f2259c8
Author: David Zeuthen <davidz redhat com>
Date: Wed Jul 28 12:58:04 2010 -0400
Use correct type for GDBusServer:active property
It's a boolean, not a string.
Signed-off-by: David Zeuthen <davidz redhat com>
gio/gdbusserver.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gio/gdbusserver.c b/gio/gdbusserver.c
index 14f94a6..f9e19b3 100644
--- a/gio/gdbusserver.c
+++ b/gio/gdbusserver.c
@@ -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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]