diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 10:20:21 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 10:20:21 +0000 |
commit | f269e27ce7e39e6484cf02a137dcda7458a7fd85 (patch) | |
tree | 6a88312826c2db34034ceca65afa9503a69a4f9e /audio/manager.c | |
parent | 5c4f688af6ad797033b233521cd75852602fa93d (diff) |
Fix the last remains of sending helpers
Diffstat (limited to 'audio/manager.c')
-rw-r--r-- | audio/manager.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/manager.c b/audio/manager.c index 0a8b6478..75c44440 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -370,7 +370,8 @@ update: dbus_message_append_args(reply, DBUS_TYPE_STRING, &data->device->path, DBUS_TYPE_INVALID); - send_message_and_unref(connection, reply); + dbus_connection_send(connection, reply, NULL); + dbus_message_unref(reply); } done: @@ -1569,7 +1570,9 @@ void manager_cancel_authorize(bdaddr_t *dba, const char *uuid, DBUS_TYPE_STRING, &uuid, DBUS_TYPE_INVALID); - send_message_and_unref(connection, cancel); + dbus_connection_send(connection, cancel, NULL); + + dbus_message_unref(cancel); } gboolean manager_authorize(const bdaddr_t *dba, const char *uuid, |