From 3a11e84a573785024b11d89ed4f9b06e43b06ca6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 16 Oct 2008 21:45:31 +0300 Subject: Add dict_append_array() --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device.c') 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 */ -- cgit