use gdk_threads_enter and leave in file monitor callbacks

This commit is contained in:
Sebastian Ramacher 2012-02-20 20:17:16 +01:00
parent a2addfab75
commit fcca562280

View File

@ -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