diff options
author | Robert Manea <gotmor@gmail.com> | 2009-05-15 18:23:20 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-05-15 18:23:20 +0200 |
commit | 4cb5e65f51d7d4c0ffb34ce44511297426ae41e7 (patch) | |
tree | 8fb2d1364264e8f0cf64b01fec72aa73cad820f8 /uzbl.c | |
parent | 5d498b3df714fa31230d682456e69938614e6074 (diff) |
fixed control_fifo() to return a correct status
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -995,14 +995,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) @@ -1015,7 +1015,7 @@ control_fifo(GIOChannel *gio, GIOCondition condition) { parse_cmd_line(ctl_line); g_free(ctl_line); - return; + return TRUE; } static gchar* |