Initializes GDK so that it can be used from multiple threads
in conjunction with Threads.enter and Threads.leave.
This call must be made before any use of the main loop from
GTK+; to be safe, call it before gtk_init().
Deprecated: All GDK and GTK+ calls should be made from the main