summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window_main.c b/window_main.c
index ac5b9bd..e502d6e 100644
--- a/window_main.c
+++ b/window_main.c
@@ -693,7 +693,9 @@ int gui_main(int argc, char **argv) {
gtk_widget_show_all(GTK_WIDGET(window));
+ gdk_threads_enter();
gtk_main();
+ gdk_threads_leave();
db_close();
conf_close();