Surround render call by tenter/tleave

This commit is contained in:
Moritz Lipp 2011-02-28 11:27:03 +08:00
parent 31027cbaad
commit ef3944421b

View File

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