aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/gtk_iface_monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/gtk_iface_monitor.c')
-rw-r--r--ui/gtk/gtk_iface_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/gtk_iface_monitor.c b/ui/gtk/gtk_iface_monitor.c
index 63e4c31d0f..f3797247f8 100644
--- a/ui/gtk/gtk_iface_monitor.c
+++ b/ui/gtk/gtk_iface_monitor.c
@@ -79,7 +79,7 @@ gtk_iface_mon_start(void)
iface_mon_channel = g_io_channel_unix_new(sock);
g_io_channel_set_encoding(iface_mon_channel, NULL, NULL);
g_io_add_watch(iface_mon_channel,
- G_IO_IN|G_IO_ERR|G_IO_HUP,
+ (GIOCondition)(G_IO_IN|G_IO_ERR|G_IO_HUP),
&gtk_iface_mon_event,
NULL);
return 0;