summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-30 16:48:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-30 16:48:38 +0100
commitf82e6424075cbc5f4a3766f5f6e28314c249f3f0 (patch)
tree1ad0f4eb2860c42065414b3a23b81aea37b2e113
parentca5e9c628132d1b57fc705f1844ffb6aaa2b4662 (diff)
only try gtk3 vclplug on >= 3.14
themeing has changed around quite a bit, and there's insufficient interest to get older versions looking right Change-Id: Ia2ee58d66c859e3bf00b54413fac1efb00d38dd3
-rw-r--r--vcl/unx/gtk/app/gtkinst.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index d31563efe369..41dfbea21d30 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -82,6 +82,12 @@ extern "C"
XInitThreads();
#if GTK_CHECK_VERSION(3,0,0)
+ if (gtk_minor_version < 14)
+ {
+ g_warning("require a newer gtk than 3.%d for theme expectations", gtk_minor_version);
+ return NULL;
+ }
+
const gchar* pVersion = gtk_check_version( 3, 2, 0 );
#else
const gchar* pVersion = gtk_check_version( 2, 2, 0 );