[gnome-keyring] [dbus] Fix problem accessing "object-path" property as wrong type.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] [dbus] Fix problem accessing "object-path" property as wrong type.
- Date: Tue, 27 Jul 2010 10:38:35 +0000 (UTC)
commit 5ee980363f5e3a49bbd1e5a2c34dec150b4e3ff8
Author: Stef Walter <stef memberwebs com>
Date: Tue Jul 27 10:22:18 2010 +0200
[dbus] Fix problem accessing "object-path" property as wrong type.
Should be a pointer property, but was a string.
daemon/dbus/gkd-secret-prompt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-prompt.c b/daemon/dbus/gkd-secret-prompt.c
index c65ccaa..50c3281 100644
--- a/daemon/dbus/gkd-secret-prompt.c
+++ b/daemon/dbus/gkd-secret-prompt.c
@@ -382,7 +382,7 @@ gkd_secret_prompt_get_property (GObject *obj, guint prop_id, GValue *value,
g_value_set_string (value, gkd_secret_prompt_get_caller (self));
break;
case PROP_OBJECT_PATH:
- g_value_set_boxed (value, self->pv->object_path);
+ g_value_set_pointer (value, self->pv->object_path);
break;
case PROP_SERVICE:
g_value_set_object (value, self->pv->service);
@@ -417,8 +417,8 @@ gkd_secret_prompt_class_init (GkdSecretPromptClass *klass)
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY ));
g_object_class_install_property (gobject_class, PROP_OBJECT_PATH,
- g_param_spec_string ("object-path", "Object Path", "DBus Object Path",
- NULL, G_PARAM_READABLE));
+ g_param_spec_pointer ("object-path", "Object Path", "DBus Object Path",
+ G_PARAM_READABLE));
g_object_class_install_property (gobject_class, PROP_SERVICE,
g_param_spec_object ("service", "Service", "Service which owns this prompt",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]