mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 21:44:20 +01:00
Remove wrong threads_enter/leave
This commit is contained in:
parent
dd97387715
commit
e5d0b6bac0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user