summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-16 20:18:37 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-16 20:18:37 +0000
commit559a9a2ef363a2d9e81581f5846c59b0209c3575 (patch)
tree1348a65f7da583000bea0afed8a8bb839a704b6e /common
parentbc6af96cbd6f8b073c9049e812b6f4a082c66a81 (diff)
Add missing flags to g_io_add_watch calls
Diffstat (limited to 'common')
-rw-r--r--common/notify-inotify.c2
1 files changed, 1 insertions, 1 deletions
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)