mirror of https://github.com/snes9xgit/snes9x.git
commit
e4d5cbc5ba
|
@ -44,6 +44,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
gdk_threads_init ();
|
gdk_threads_init ();
|
||||||
|
gdk_threads_enter ();
|
||||||
|
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
||||||
|
@ -126,7 +127,7 @@ main (int argc, char *argv[])
|
||||||
gtk_window_present (top_level->get_window ());
|
gtk_window_present (top_level->get_window ());
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
gdk_threads_leave ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue