summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-sdp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-04 15:32:26 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-04 15:32:26 +0000
commit994212593598a7c176342e616bc99aae45991244 (patch)
treeb27993a278543aafe294543adec27b4fe85ff4ba /hcid/dbus-sdp.c
parent16dceb4c2f7a8ed91c88b1c1353b6bd5ccc68cbf (diff)
Convert to using the generic D-Bus object handling
Diffstat (limited to 'hcid/dbus-sdp.c')
-rw-r--r--hcid/dbus-sdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index 5a79a7b4..05eefcf7 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -49,6 +49,7 @@
#include <dbus/dbus.h>
#include "dbus.h"
+#include "dbus-helper.h"
#include "hcid.h"
#include "textfile.h"
#include "dbus-hci.h"
@@ -347,7 +348,7 @@ static const char *get_address_from_message(DBusConnection *conn, DBusMessage *m
if (!path)
return NULL;
- if (dbus_connection_get_object_path_data(conn, path, (void *) &adapter) == FALSE)
+ if (dbus_connection_get_object_user_data(conn, path, (void *) &adapter) == FALSE)
return NULL;
return adapter->address;