summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-06-28 14:20:52 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-06-30 08:36:49 (GMT)
commit59f52fa5f8aa51a75ab8eb3d15da05101965e614 (patch)
treea2ed444a5ed6fa07341cdd4d3e1b2d336617877b /plugins
parentb24ce18eaba01f04efa1c925b91ca83c1c5a8d8a (diff)
downloadconnman-59f52fa5f8aa51a75ab8eb3d15da05101965e614.zip
connman-59f52fa5f8aa51a75ab8eb3d15da05101965e614.tar.gz
connman-59f52fa5f8aa51a75ab8eb3d15da05101965e614.tar.bz2
dundee: Watch for signals only on DUNDEE_SERVICE
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dundee.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dundee.c b/plugins/dundee.c
index 045f639..d0ecdef 100644
--- a/plugins/dundee.c
+++ b/plugins/dundee.c
@@ -789,18 +789,18 @@ static int dundee_init(void)
watch = g_dbus_add_service_watch(connection, DUNDEE_SERVICE,
dundee_connect, dundee_disconnect, NULL, NULL);
- added_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
+ added_watch = g_dbus_add_signal_watch(connection, DUNDEE_SERVICE, NULL,
DUNDEE_MANAGER_INTERFACE,
DEVICE_ADDED, device_added,
NULL, NULL);
- removed_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
- DUNDEE_MANAGER_INTERFACE,
+ removed_watch = g_dbus_add_signal_watch(connection, DUNDEE_SERVICE,
+ NULL, DUNDEE_MANAGER_INTERFACE,
DEVICE_REMOVED, device_removed,
NULL, NULL);
- device_watch = g_dbus_add_signal_watch(connection, NULL, NULL,
- DUNDEE_DEVICE_INTERFACE,
+ device_watch = g_dbus_add_signal_watch(connection, DUNDEE_SERVICE,
+ NULL, DUNDEE_DEVICE_INTERFACE,
PROPERTY_CHANGED,
device_changed,
NULL, NULL);