diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-01 13:37:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-01 15:09:52 +0100 |
commit | 0c4ec6ad42e2197fbea2aa5f64bdf0e9e6393107 (patch) | |
tree | 2d4bc19a3eca2bf52426c0ede3595ea8508efeff /vcl/unx | |
parent | 4cd6f40d3f5844a40de5acb0ba7ede29c19a2af5 (diff) |
we already don't run gtk3 if < 3.14
Change-Id: I6bc3cacb12fef6dd607f6c38612c270ecf845221
Reviewed-on: https://gerrit.libreoffice.org/45664
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index f37ed7cb93dd..7b4d9da569fc 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -2116,8 +2116,7 @@ namespace GtkStateFlags CHECKED() { #if GTK_CHECK_VERSION(3,14,0) - if (gtk_check_version(3, 14, 0) == nullptr) - return GTK_STATE_FLAG_CHECKED; + return GTK_STATE_FLAG_CHECKED; #endif return GTK_STATE_FLAG_ACTIVE; } |