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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 7 16:37:27 UTC 2021


 vcl/unx/gtk3/gtkinst.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit a38fc872839909774a7097671fcaefe3c9127bdd
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 7 16:10:55 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 7 18:36:47 2021 +0200

    gtk4: silence warnings
    
    Change-Id: I4d9d391239a57ab81ce6f513a713ac91846b61d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118576
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index da39cf03f41a..c35af7b23d96 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -10505,6 +10505,15 @@ public:
             m_pTopLevelMenuHelper->add_to_map(pMenuItem);
         if (pos != -1)
             gtk_menu_reorder_child(m_pMenu, pItem, pos);
+#else
+        SAL_WARN("vcl.gtk", "needs to be implemented for gtk4");
+        (void)pos;
+        (void)rId;
+        (void)rStr;
+        (void)pIconName;
+        (void)pImageSurface;
+        (void)rGraphic;
+        (void)eCheckRadioFalse;
 #endif
     }
 


More information about the Libreoffice-commits mailing list