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

Remove wrong threads_enter/leave

parent dd973877
......@@ -188,8 +188,6 @@ error_out:
void
page_view_set_mode(unsigned int pages_per_row)
{
gdk_threads_enter();
/* empty page view */
GList* container = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.page_view));
for (GList* child = container; child; child = g_list_next(child)) {
......@@ -215,7 +213,6 @@ page_view_set_mode(unsigned int pages_per_row)
}
gtk_widget_show_all(Zathura.UI.page_view);
gdk_threads_leave();
}
void
......
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