void gdk_threads_enter ( void )
This function marks the beginning of a critical section in which GDK and GTK+ functions can be called safely and without causing race conditions. Only one thread at a time can be in such a critial section.
Deprecated since: 3.6
All GDK and GTK+ calls should be made from the main thread.