mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:43:46 +01:00
Remove wrong threads_enter/leave
This commit is contained in:
parent
dd97387715
commit
e5d0b6bac0
@ -188,8 +188,6 @@ error_out:
|
|||||||
void
|
void
|
||||||
page_view_set_mode(unsigned int pages_per_row)
|
page_view_set_mode(unsigned int pages_per_row)
|
||||||
{
|
{
|
||||||
gdk_threads_enter();
|
|
||||||
|
|
||||||
/* empty page view */
|
/* empty page view */
|
||||||
GList* container = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.page_view));
|
GList* container = gtk_container_get_children(GTK_CONTAINER(Zathura.UI.page_view));
|
||||||
for (GList* child = container; child; child = g_list_next(child)) {
|
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);
|
gtk_widget_show_all(Zathura.UI.page_view);
|
||||||
gdk_threads_leave();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user