summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
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)