vcl/unx/gtk3/gtk3gtksalmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 800baa9c60d8fb7b4ed8cf8ae0ba7b6b68c69c9c
Author:     Maxim Monastirsky <momonas...@gmail.com>
AuthorDate: Wed Sep 30 09:29:48 2020 +0300
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Wed Sep 30 20:11:23 2020 +0200

    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/+/103660
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/vcl/unx/gtk3/gtk3gtksalmenu.cxx b/vcl/unx/gtk3/gtk3gtksalmenu.cxx
index 13a7ef2d30ac..262187f16658 100644
--- a/vcl/unx/gtk3/gtk3gtksalmenu.cxx
+++ b/vcl/unx/gtk3/gtk3gtksalmenu.cxx
@@ -1034,7 +1034,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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to