diff options
-rw-r--r-- | uzbl.c | 6 | ||||
-rw-r--r-- | uzbl.h | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1001,14 +1001,14 @@ build_stream_name(int type, const gchar* dir) { return str; } -static void +static gboolean control_fifo(GIOChannel *gio, GIOCondition condition) { printf("triggered\n"); gchar *ctl_line; GIOStatus ret; GError *err = NULL; - if (condition & G_IO_HUP) + if (condition & G_IO_HUP) g_error ("Fifo: Read end of pipe died!\n"); if(!gio) @@ -1021,7 +1021,7 @@ control_fifo(GIOChannel *gio, GIOCondition condition) { parse_cmd_line(ctl_line); g_free(ctl_line); - return; + return TRUE; } static gchar* @@ -264,7 +264,7 @@ var_is(const char *x, const char *y); static gchar* set_useragent(gchar *val); -static void +static gboolean control_fifo(GIOChannel *gio, GIOCondition condition); static gchar* |