summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/callbacks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 01b836520..b48e1568a 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -1945,9 +1945,13 @@ ghb_log_cb(GIOChannel *source, GIOCondition cond, gpointer data)
}
g_io_channel_write_chars (ud->activity_log, text,
length, &length, NULL);
+ g_io_channel_flush(ud->activity_log, NULL);
if (ud->job_activity_log)
+ {
g_io_channel_write_chars (ud->job_activity_log, text,
length, &length, NULL);
+ g_io_channel_flush(ud->job_activity_log, NULL);
+ }
g_free(text);
}
if (status != G_IO_STATUS_NORMAL)