mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-03-01 04:54:39 +01:00
use gdk_threads_enter and leave in file monitor callbacks
This commit is contained in:
parent
a2addfab75
commit
fcca562280
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue