summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-04 12:00:49 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-04 16:26:52 +0000
commit0c1b91b0c7fd0c8f38905ba88e3c1679b9cbe6d8 (patch)
treeaf51d72c5b5e91968996844f5f5e05774c192f34
parent6a7ae600b55dd879b5d8e324b8b4bde39da80d69 (diff)
vcl: gtk 2.4 is checked at configure time
Change-Id: I08993551473fb9a8284e2a1ed772c99050f785d8 Reviewed-on: https://gerrit.libreoffice.org/12251 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--vcl/unx/gtk/app/gtkinst.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 1ca67f172253..c2f56aae9714 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -97,9 +97,6 @@ extern "C"
if ( !g_thread_supported() )
g_thread_init( NULL );
-#if !GTK_CHECK_VERSION(2,4,0)
-#error "Requires gtk 2.4.0+ for lock hooking"
-#endif
gdk_threads_set_lock_functions (GdkThreadsEnter, GdkThreadsLeave);
SAL_INFO("vcl.gtk", "Hooked gdk threads locks");