comparison gtk/dw.c @ 135:f57ef391f104

For GTK to be thread safe in 2.0 we must call gdk_threads_init().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 21 Oct 2002 04:29:47 +0000
parents caeb52bb5ef4
children d22b50184e3b
comparison
equal deleted inserted replaced
134:caeb52bb5ef4 135:f57ef391f104
680 _resources.resource_id = res->resource_id; 680 _resources.resource_id = res->resource_id;
681 _resources.resource_data = res->resource_data; 681 _resources.resource_data = res->resource_data;
682 } 682 }
683 gtk_set_locale(); 683 gtk_set_locale();
684 g_thread_init(NULL); 684 g_thread_init(NULL);
685 #if GTK_MAJOR_VERSION > 1
686 gdk_threads_init();
687 #endif
685 688
686 gtk_init(argc, argv); 689 gtk_init(argc, argv);
687 #ifdef USE_IMLIB 690 #ifdef USE_IMLIB
688 gdk_imlib_init(); 691 gdk_imlib_init();
689 #endif 692 #endif