forked from Mirrors/openclonk
mape: Don't hold the GDK thread lock (#1091)
The lock was from times when the GTK+ widget was updated directly from the render thread, but this is not the case anymore, so it can be removed without substitution.issue1247
parent
642ce2eb9c
commit
42c1826935
|
@ -133,9 +133,6 @@ int main(int argc,
|
|||
signal(SIGSEGV, segv_handler);
|
||||
|
||||
g_thread_init(NULL);
|
||||
gdk_threads_init();
|
||||
gdk_threads_enter();
|
||||
|
||||
gtk_init(&argc, &argv);
|
||||
|
||||
/* TODO: Set global application icon */
|
||||
|
@ -175,7 +172,6 @@ int main(int argc,
|
|||
|
||||
gtk_main();
|
||||
mape_window_destroy(window);
|
||||
gdk_threads_leave();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue