summaryrefslogtreecommitdiffstats
path: root/src/device.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/device.c
parent9673b91678c5efa9d3581b0140676eaa543627e1 (diff)
Add dict_append_array()
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 729a846c..80d655f3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -254,7 +254,7 @@ static DBusMessage *get_properties(DBusConnection *conn,
uuids = g_new0(char *, g_slist_length(device->uuids) + 1);
for (i = 0, l = device->uuids; l; l = l->next, i++)
uuids[i] = l->data;
- dict_append_entry(&dict, "UUIDs", DBUS_TYPE_ARRAY, &uuids);
+ dict_append_array(&dict, "UUIDs", DBUS_TYPE_STRING, &uuids, i);
g_free(uuids);
/* Adapter */