I have following thread initialization routine: if (!g_thread_supported()) { g_thread_init(NULL); gdk_threads_init(); // Called to initialize internal mutex "gdk_threads_mutex". } else { g_print("Error: g_thread not supported.\n"); gtk_main_quit (); } on the first call of the function that has that code everything works ok, but on the second call - it enters the else statment and says Error: g_thread not supported. what is wrong? _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list