summaryrefslogtreecommitdiff
path: root/gio/inotify/inotify-kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/inotify/inotify-kernel.c')
-rw-r--r--gio/inotify/inotify-kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/inotify/inotify-kernel.c b/gio/inotify/inotify-kernel.c
index d6385f939..e0eccccab 100644
--- a/gio/inotify/inotify-kernel.c
+++ b/gio/inotify/inotify-kernel.c
@@ -208,6 +208,7 @@ gboolean _ik_startup (void (*cb)(ik_event_t *event))
g_io_channel_set_flags (inotify_read_ioc, G_IO_FLAG_NONBLOCK, NULL);
source = g_source_new (&ik_source_funcs, sizeof (GSource));
+ g_source_set_name (source, "GIO Inotify");
g_source_add_poll (source, &ik_poll_fd);
g_source_set_callback (source, ik_read_callback, NULL, NULL);
g_source_attach (source, NULL);