summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-06-28 10:59:20 -0300
committerDenis Kenzior <denkenz@gmail.com>2012-07-02 11:04:38 -0500
commitd00e030f80f60572e18b4922026741f2af815c46 (patch)
tree6bc11131c0b8d33f5680ac0f8d1ecd039759cc6e
parentb84e107f0817470b63d9e67d3b540eff15f1144b (diff)
downloadofono-d00e030f80f60572e18b4922026741f2af815c46.tar.bz2
stemgr: watch for signals only on MGR_SERVICE
-rw-r--r--plugins/stemgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/stemgr.c b/plugins/stemgr.c
index 126ec4e1..7e434d36 100644
--- a/plugins/stemgr.c
+++ b/plugins/stemgr.c
@@ -337,8 +337,8 @@ static gboolean property_changed(DBusConnection *connection,
static void mgr_connect(DBusConnection *connection, void *user_data)
{
- property_changed_watch = g_dbus_add_signal_watch(connection, NULL,
- NULL,
+ property_changed_watch = g_dbus_add_signal_watch(connection,
+ MGR_SERVICE, NULL,
MGR_MODEM_INTERFACE,
PROPERTY_CHANGED,
property_changed,