summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-27 21:21:16 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-27 23:59:31 -0800
commit3f937cc14291354427ee0c3a74ec079b4548f3cb (patch)
tree6ed5985fe1a8091f7de96d99a35e790fb0ff24de /gdbus
parentf84c848f983d8a5c93ba5e93f156b9ecff554f5e (diff)
downloadconnman-3f937cc14291354427ee0c3a74ec079b4548f3cb.tar.gz
connman-3f937cc14291354427ee0c3a74ec079b4548f3cb.tar.bz2
connman-3f937cc14291354427ee0c3a74ec079b4548f3cb.zip
gdbus: Use client service name and not hardcoded org.bluez
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbus/client.c b/gdbus/client.c
index 8b55e5bf..8bb525b2 100644
--- a/gdbus/client.c
+++ b/gdbus/client.c
@@ -881,7 +881,7 @@ static void get_managed_objects(GDBusClient *client)
{
DBusMessage *msg;
- msg = dbus_message_new_method_call("org.bluez", "/",
+ msg = dbus_message_new_method_call(client->service_name, "/",
DBUS_INTERFACE_DBUS ".ObjectManager",
"GetManagedObjects");
if (msg == NULL)