mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:46:08 +01:00
use gdk_threads_enter and leave in file monitor callbacks
This commit is contained in:
parent
a2addfab75
commit
fcca562280
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user