[Libreoffice-commits] core.git: vcl/unx

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 19 09:25:25 UTC 2019


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

New commits:
commit 35b41150e84940e87b9d961b6b402e3e060d6b8b
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Aug 19 10:35:44 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Aug 19 11:24:49 2019 +0200

    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 at collabora.co.uk>

diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 150475912a43..d0503519a084 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;


More information about the Libreoffice-commits mailing list