diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-17 16:44:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-17 16:45:15 +0100 |
commit | a906f24a7830a12c4f1e2f8fa0c3df7961a64d6c (patch) | |
tree | aa9fe28a0bdac39593b09727636ee5aec3628f15 /vcl | |
parent | 9ac8a57e52a25870d497241c64bff3da0272cf4d (diff) |
older gtk3 versions still out there to build against
Change-Id: I64cb12185fc3943a211928e35e756b82942095b0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index b7c7b2d3cb3d..11e6d01a5e3c 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1653,15 +1653,19 @@ namespace { GtkStateFlags CHECKED() { +#if GTK_CHECK_VERSION(3,14,0) if (gtk_check_version(3, 14, 0) == nullptr) return GTK_STATE_FLAG_CHECKED; +#endif return GTK_STATE_FLAG_ACTIVE; } GtkStateFlags ACTIVE_TAB() { +#if GTK_CHECK_VERSION(3,20,0) if (gtk_check_version(3, 20, 0) == nullptr) return GTK_STATE_FLAG_CHECKED; +#endif return GTK_STATE_FLAG_ACTIVE; } } |