mirror of https://github.com/snes9xgit/snes9x.git
Fix Mutex problem
This commit is contained in:
parent
825706be4f
commit
668432a569
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue