mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
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:
parent
133e87ca87
commit
19ef26c9c5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user