From ac131bab11bdea282f7e18751ee0679d65e469c3 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Tue, 4 Apr 2006 19:44:27 +0000 Subject: [PATCH] wxGTK2: No need to warn about threads being unsupported if gtk+ is lower than 1.2.4 - this is source code for gtk2 only. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/app.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index d78da2d0aa..8f8e0869dc 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -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(); -- 2.45.2