summaryrefslogtreecommitdiff
path: root/plugins/neard.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-08-19 17:17:17 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-09-09 17:35:30 +0300
commit92d1321602a31cd5799452aff0e445ebb501b35e (patch)
tree5bc4bb6b46d7f1514f2b3488f46927a31c8bb00e /plugins/neard.c
parentc0e939db34948095babf82c7cf12e3002e502d69 (diff)
downloadbluez-92d1321602a31cd5799452aff0e445ebb501b35e.tar.gz
neard: Make use of g_dbus_send_message_with_reply
This replaces dbus_connection_send_with_reply with g_dbus_send_message_with_reply which does not alter message order.
Diffstat (limited to 'plugins/neard.c')
-rw-r--r--plugins/neard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index e4a4d71ea..ea91c4dd4 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -158,7 +158,7 @@ static void register_agent(bool append_carrier)
dbus_message_append_args(message, DBUS_TYPE_STRING, &carrier,
DBUS_TYPE_INVALID);
- if (!dbus_connection_send_with_reply(btd_get_dbus_connection(),
+ if (!g_dbus_send_message_with_reply(btd_get_dbus_connection(),
message, &call, -1)) {
dbus_message_unref(message);
error("D-Bus send failed");