summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:03:25 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-16 22:03:25 +0300
commitc0736ea762bfea95e98c8b9f118b4e5464f2159c (patch)
tree1bd3bb6859eccd4ea71dc300b34104496e01cf7c /input/device.c
parent3a11e84a573785024b11d89ed4f9b06e43b06ca6 (diff)
Rename dbus_connection_emit_property_changed to emit_property_changed
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/input/device.c b/input/device.c
index bf82c5de..af118bfa 100644
--- a/input/device.c
+++ b/input/device.c
@@ -409,9 +409,8 @@ static gboolean intr_watch_cb(GIOChannel *chan, GIOCondition cond, gpointer data
g_dbus_emit_signal(idev->conn, idev->path,
INPUT_DEVICE_INTERFACE, "Disconnected",
DBUS_TYPE_INVALID);
- dbus_connection_emit_property_changed(idev->conn, idev->path,
- INPUT_DEVICE_INTERFACE, "Connected",
- DBUS_TYPE_BOOLEAN, &connected);
+ emit_property_changed(idev->conn, idev->path, INPUT_DEVICE_INTERFACE,
+ "Connected", DBUS_TYPE_BOOLEAN, &connected);
g_source_remove(iconn->ctrl_watch);
iconn->ctrl_watch = 0;
@@ -1253,9 +1252,8 @@ int input_device_connadd(const bdaddr_t *src, const bdaddr_t *dst)
g_dbus_emit_signal(idev->conn, idev->path,
INPUT_DEVICE_INTERFACE, "Connected",
DBUS_TYPE_INVALID);
- dbus_connection_emit_property_changed(idev->conn, idev->path,
- INPUT_DEVICE_INTERFACE, "Connected",
- DBUS_TYPE_BOOLEAN, &connected);
+ emit_property_changed(idev->conn, idev->path, INPUT_DEVICE_INTERFACE,
+ "Connected", DBUS_TYPE_BOOLEAN, &connected);
return 0;