void gdk_threads_init ( void )
Initializes GDK so that it can be used from multiple threads
in conjunction with
gdk_threads_enter() and gdk_threads_leave().
This call must be made before any use of the main loop from GTK+; to be safe, call it before gtk_init().
All GDK and GTK+ calls should be made from the main thread.