]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGTK2: No need to warn about threads being unsupported if gtk+ is lower than 1.2...
authorMart Raudsepp <leio@gentoo.org>
Tue, 4 Apr 2006 19:44:27 +0000 (19:44 +0000)
committerMart Raudsepp <leio@gentoo.org>
Tue, 4 Apr 2006 19:44:27 +0000 (19:44 +0000)
only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp

index d78da2d0aafafb9f8f5ee2f74c6f0dac027f5a88..8f8e0869dc0b8d42bf36254580b6b2cb67d11c2c 100644 (file)
@@ -555,18 +555,8 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     bool init_result;
 
 #if wxUSE_THREADS
-    // GTK 1.2 up to version 1.2.3 has broken threads
-    if ((gtk_major_version == 1) &&
-        (gtk_minor_version == 2) &&
-        (gtk_micro_version < 4))
-    {
-        printf( "wxWidgets warning: GUI threading disabled due to outdated GTK version\n" );
-    }
-    else
-    {
-        if (!g_thread_supported())
-            g_thread_init(NULL);
-    }
+    if (!g_thread_supported())
+        g_thread_init(NULL);
 #endif // wxUSE_THREADS
 
     gtk_set_locale();