diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-05 21:45:05 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-05 21:45:05 +0100 |
commit | f392c5388ab29ba88bdc5ba5ad983622d77824ba (patch) | |
tree | 0daaf8ef858bbf32ea26452231cbd9b4fc741ae5 | |
parent | fd17c6ff74dd8a6e107d5bdb1a33d41c7689dc7f (diff) |
Call gdk_threads_enter() and gdk_threads_leave() around gtk_main().
-rw-r--r-- | window_main.c | 2 |
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(); |