diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-09-13 19:06:29 -0300 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-09-13 19:06:29 -0300 |
commit | 7e4d1b084d152df81a2e9732d43da23e9c9df237 (patch) | |
tree | cd41b0bb3ac7440e048fd3b5befc54dec0c4d877 /input | |
parent | 8e6cc8d1c48d343500bbfc3ab2990e82708831bb (diff) |
Input: Connected signal doesn't have parameters
Diffstat (limited to 'input')
-rw-r--r-- | input/device.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/input/device.c b/input/device.c index f4748dbf..d97db7c2 100644 --- a/input/device.c +++ b/input/device.c @@ -366,7 +366,6 @@ static void rfcomm_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src, path = dbus_message_get_path(iconn->pending_connect); g_dbus_emit_signal(idev->conn, path, INPUT_DEVICE_INTERFACE, "Connected", - DBUS_TYPE_STRING, &iconn->uuid, DBUS_TYPE_INVALID); dbus_message_unref(iconn->pending_connect); @@ -696,7 +695,6 @@ static void interrupt_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src, iconn->ctrl_watch = create_watch(iconn->ctrl_sk, ctrl_watch_cb, iconn); g_dbus_emit_signal(idev->conn, idev->path, INPUT_DEVICE_INTERFACE, "Connected", - DBUS_TYPE_STRING, &iconn->uuid, DBUS_TYPE_INVALID); /* Replying to the requestor */ @@ -991,7 +989,7 @@ static GDBusMethodTable device_methods[] = { }; static GDBusSignalTable device_signals[] = { - { "Connected", "ss" }, + { "Connected", "" }, { "Disconnected", "s" }, { } }; @@ -1214,7 +1212,6 @@ int input_device_connadd(const bdaddr_t *src, const bdaddr_t *dst) iconn->ctrl_watch = create_watch(iconn->ctrl_sk, ctrl_watch_cb, iconn); g_dbus_emit_signal(idev->conn, idev->path, INPUT_DEVICE_INTERFACE, "Connected", - DBUS_TYPE_STRING, &iconn->uuid, DBUS_TYPE_INVALID); return 0; |