From fcca562280299b1c999e97ec489391b97ce20872 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 20 Feb 2012 20:17:16 +0100 Subject: [PATCH] use gdk_threads_enter and leave in file monitor callbacks --- callbacks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/callbacks.c b/callbacks.c index 984c902..c35d50b 100644 --- a/callbacks.c +++ b/callbacks.c @@ -225,7 +225,9 @@ cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* UNUSED(other_file), G return; } + gdk_threads_enter(); sc_reload(session, NULL, NULL, 0); + gdk_threads_leave(); } static gboolean