summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-30 21:58:03 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-30 21:58:03 +0000
commit0ad9f50ac3cfb1885fec839d6ac0be5fdc5aabd1 (patch)
treed6c36d59c92f58fc567a6425c879a08d685e67c9
parentb1df213042ef14c24b6d370e5fe16c681508af8b (diff)
input: fixed last commit
-rw-r--r--input/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/device.c b/input/device.c
index e137c28f..3f78d15a 100644
--- a/input/device.c
+++ b/input/device.c
@@ -542,7 +542,7 @@ static guint create_watch(int sk, struct device *idev)
GIOChannel *io;
io = g_io_channel_unix_new(sk);
- id = g_io_add_watch(G_IO_HUP | G_IO_ERR | G_IO_NVAL,
+ id = g_io_add_watch(io, G_IO_HUP | G_IO_ERR | G_IO_NVAL,
connection_event, idev);
g_io_channel_unref(io);