summaryrefslogtreecommitdiffstats
path: root/src/adapter.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/adapter.c
parentc0736ea762bfea95e98c8b9f118b4e5464f2159c (diff)
Add emit_array_property_changed()
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 24f0b3ae..b9307e7d 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3369,8 +3369,8 @@ void adapter_update_devices(struct btd_adapter *adapter)
devices[i] = (char *) device_get_path(dev);
}
- emit_property_changed(connection, adapter->path,
- ADAPTER_INTERFACE, "Devices",
- DBUS_TYPE_ARRAY, &devices);
+ emit_array_property_changed(connection, adapter->path,
+ ADAPTER_INTERFACE, "Devices",
+ DBUS_TYPE_OBJECT_PATH, &devices);
g_free(devices);
}