From 0ad9f50ac3cfb1885fec839d6ac0be5fdc5aabd1 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Thu, 30 Aug 2007 21:58:03 +0000 Subject: input: fixed last commit --- input/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit