Leaves a critical region begun with gdk_threads_enter().
Deprecated: All GDK and GTK+ calls should be made from the main thread
See Implementation
Leaves a critical region begun with gdk_threads_enter().