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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 7 07:28:01 UTC 2021


 vcl/unx/gtk4/convert3to4.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit ac31428d3f4a673e4876609632c41bc218be5e4f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 6 16:57:09 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 7 09:27:21 2021 +0200

    gtk4: replace GtkToolItem with GtkBox
    
    Change-Id: I02067a4b22817518451daf5d93de8d89dc8e5027
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118522
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 5c8cc1dec71e..cf6ddef2e8a2 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -1155,6 +1155,10 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
             {
                 xClass->setNodeValue("GtkButton");
             }
+            else if (sClass == "GtkToolItem")
+            {
+                xClass->setNodeValue("GtkBox");
+            }
             else if (sClass == "GtkMenuToolButton")
             {
                 xClass->setNodeValue("GtkMenuButton");


More information about the Libreoffice-commits mailing list