Commit ef394442 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Surround render call by tenter/tleave

parent 31027cba
......@@ -20,9 +20,10 @@ render_job(void* data)
girara_list_remove(render_thread->list, page);
g_mutex_unlock(render_thread->lock);
printf("Rendered %d\n", page->number);
gdk_threads_enter();
render(page);
printf("Rendered %d\n", page->number);
gdk_threads_leave();
}
return NULL;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment