From 559a9a2ef363a2d9e81581f5846c59b0209c3575 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 Feb 2007 20:18:37 +0000 Subject: Add missing flags to g_io_add_watch calls --- common/notify-inotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/notify-inotify.c') diff --git a/common/notify-inotify.c b/common/notify-inotify.c index 5672a4ed..281d4179 100644 --- a/common/notify-inotify.c +++ b/common/notify-inotify.c @@ -102,7 +102,7 @@ void notify_init(void) return; } - g_io_add_watch(io, G_IO_IN, io_event, NULL); + g_io_add_watch(io, G_IO_IN | G_IO_ERR | G_IO_HUP, io_event, NULL); } void notify_close(void) -- cgit