summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-19 10:35:44 +0200
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2019-08-20 11:44:48 +0200
commit97fefe2e0870c7e62d39ba1e82e1c276c8f64ced (patch)
treebb4c7a0b1f08ceead65b2de47c18d5ea18daef72 /vcl
parent16eaea5fe8c3e9942b36f6d9969886191f25620c (diff)
tdf#126830 Icons not showing in menus
regression from commit 9eae555542ce01cb289b9e736454abcf835b8394 Date: Sun Apr 28 09:54:42 2019 +0200 speed up gtk menu construction at startup Change-Id: I12327c0c62aa283c8b04a03933704082fd13463a Reviewed-on: https://gerrit.libreoffice.org/77702 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 35b41150e84940e87b9d961b6b402e3e060d6b8b) Reviewed-on: https://gerrit.libreoffice.org/77783 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/gtksalmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 0d149bf4b30c..8dbd8817b1ff 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -1063,7 +1063,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;