gdbus: Use client service name and not hardcoded org.bluez

This commit is contained in:
Marcel Holtmann 2012-12-27 21:21:16 -08:00
parent 8bef871cff
commit 91e3369a38
1 changed files with 1 additions and 1 deletions

View File

@ -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)