mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 07:43:46 +01:00
Surround render call by tenter/tleave
This commit is contained in:
parent
31027cbaad
commit
ef3944421b
5
render.c
5
render.c
@ -20,9 +20,10 @@ render_job(void* data)
|
|||||||
girara_list_remove(render_thread->list, page);
|
girara_list_remove(render_thread->list, page);
|
||||||
g_mutex_unlock(render_thread->lock);
|
g_mutex_unlock(render_thread->lock);
|
||||||
|
|
||||||
printf("Rendered %d\n", page->number);
|
gdk_threads_enter();
|
||||||
|
|
||||||
render(page);
|
render(page);
|
||||||
|
printf("Rendered %d\n", page->number);
|
||||||
|
gdk_threads_leave();
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user