# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1035174587 0 # Node ID f57ef391f1044202a55a4b8bc0c2f5e397417ad9 # Parent caeb52bb5ef445c8e6f80c342ee0bde5e2c45b7b For GTK to be thread safe in 2.0 we must call gdk_threads_init(). diff -r caeb52bb5ef4 -r f57ef391f104 gtk/dw.c --- a/gtk/dw.c Mon Oct 21 00:40:55 2002 +0000 +++ b/gtk/dw.c Mon Oct 21 04:29:47 2002 +0000 @@ -682,6 +682,9 @@ } gtk_set_locale(); g_thread_init(NULL); +#if GTK_MAJOR_VERSION > 1 + gdk_threads_init(); +#endif gtk_init(argc, argv); #ifdef USE_IMLIB