[gconf] gconf(d)-dbus: Use correct type, 'o', for object paths
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gconf] gconf(d)-dbus: Use correct type, 'o', for object paths
- Date: Mon, 15 Aug 2011 14:33:45 +0000 (UTC)
commit 6736f42ce5172b44083a9089ff4a777ed1c5bdc3
Author: Christian Persch <chpe gnome org>
Date: Sat Jul 30 23:06:53 2011 +0200
gconf(d)-dbus: Use correct type, 'o', for object paths
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=655656
gconf/gconf-dbus.c | 2 +-
gconf/gconfd-dbus.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gconf/gconf-dbus.c b/gconf/gconf-dbus.c
index 63655e1..4b74bb8 100644
--- a/gconf/gconf-dbus.c
+++ b/gconf/gconf-dbus.c
@@ -545,7 +545,7 @@ ensure_database (GConfEngine *conf,
dbus_message_get_args (reply,
NULL,
- DBUS_TYPE_STRING, &db,
+ DBUS_TYPE_OBJECT_PATH, &db,
DBUS_TYPE_INVALID);
if (db == NULL)
diff --git a/gconf/gconfd-dbus.c b/gconf/gconfd-dbus.c
index 45321ad..6f42ef5 100644
--- a/gconf/gconfd-dbus.c
+++ b/gconf/gconfd-dbus.c
@@ -140,7 +140,7 @@ server_real_handle_get_db (DBusConnection *connection,
str = gconf_database_dbus_get_path (db);
dbus_message_append_args (reply,
- DBUS_TYPE_STRING, &str,
+ DBUS_TYPE_OBJECT_PATH, &str,
DBUS_TYPE_INVALID);
if (!dbus_connection_send (connection, reply, NULL))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]