diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2020-09-30 09:29:48 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-30 16:55:25 +0200 |
commit | 9e129e8557370207f784cba0f40643044ead88be (patch) | |
tree | 6c3636a48245802a2cf6ceeba550300fe63fe34a /vcl | |
parent | 2217c3fa74fb3c910566ef1de1e05da5c5a120ff (diff) |
Restore the fix for tdf#126830
It was lost with 1ae450504cf57457f9702684b1517fda1dd3c481
("drop gtk2 support"), which was based on an older revision
of gtksalmenu.cxx.
In the meantime, the UI for settings icons on was hidden
(see tdf#123265), but this can't be an excuse for carrying
the broken code. The setting is also still available as an
expert config.
Change-Id: Iffc6342bb312230646399f2f85ef0211315f6c8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103644
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtksalmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtksalmenu.cxx b/vcl/unx/gtk3/gtk3gtksalmenu.cxx index 4a32af2043df..94e2134e151a 100644 --- a/vcl/unx/gtk3/gtk3gtksalmenu.cxx +++ b/vcl/unx/gtk3/gtk3gtksalmenu.cxx @@ -1018,7 +1018,7 @@ namespace void GtkSalMenu::NativeSetItemIcon( unsigned nSection, unsigned nItemPos, const Image& rImage ) { #if GLIB_CHECK_VERSION(2,38,0) - if (!!rImage && mbHasNullItemIcon) + if (!rImage && mbHasNullItemIcon) return; SolarMutexGuard aGuard; |