summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 21:45:31 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 21:45:31 +0300
commit3a11e84a573785024b11d89ed4f9b06e43b06ca6 (patch)
tree4afa2c368b8ce3afcea6d3530e77165cd8699a71 /src/adapter.c
parent9673b91678c5efa9d3581b0140676eaa543627e1 (diff)
Add dict_append_array()
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 9cd26b08..f0b60d49 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1625,7 +1625,7 @@ static DBusMessage *get_properties(DBusConnection *conn,
struct btd_device *dev = l->data;
devices[i] = (char *) device_get_path(dev);
}
- dict_append_entry(&dict, "Devices", DBUS_TYPE_ARRAY, &devices);
+ dict_append_array(&dict, "Devices", DBUS_TYPE_OBJECT_PATH, &devices, i);
g_free(devices);
dbus_message_iter_close_container(&iter, &dict);