Merge pull request #78 from thauti/bugfix

Gtk : Fix Mutex problem
This commit is contained in:
BearOso 2015-08-12 02:54:12 -05:00
commit e4d5cbc5ba
1 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ main (int argc, char *argv[])
g_thread_init (NULL);
gdk_threads_init ();
gdk_threads_enter ();
gtk_init (&argc, &argv);
@ -126,7 +127,7 @@ main (int argc, char *argv[])
gtk_window_present (top_level->get_window ());
gtk_main ();
gdk_threads_leave ();
return 0;
}