summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:31:41 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:31:41 +0300
commit58f06324289d7d343a52a9104d02121cb8db1047 (patch)
tree04e7131c6f99cff95d1e0ef788ad62bff8a53173 /src/device.c
parentc0736ea762bfea95e98c8b9f118b4e5464f2159c (diff)
Add emit_array_property_changed()
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index df9306eb..322d9efe 100644
--- a/src/device.c
+++ b/src/device.c
@@ -828,8 +828,8 @@ static void services_changed(struct btd_device *device)
for (i = 0, l = device->uuids; l; l = l->next, i++)
uuids[i] = l->data;
- emit_property_changed(conn, device->path, DEVICE_INTERFACE, "UUIDs",
- DBUS_TYPE_ARRAY, &uuids);
+ emit_array_property_changed(conn, device->path, DEVICE_INTERFACE,
+ "UUIDs", DBUS_TYPE_STRING, &uuids);
g_free(uuids);
}