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
Armin Burgmeier 2014-08-03 12:44:02 -04:00
parent 642ce2eb9c
commit 42c1826935
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}