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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 14 18:48:25 UTC 2021


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

New commits:
commit 03f1d66a57e7093c85a906bc08e3ce3ee74f81e4
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 14 10:20:27 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 14 20:47:50 2021 +0200

    gtk4: convert GtkSeparatorToolItem to GtkSeparator
    
    Change-Id: I24c0e3b515df505085ae77c350eb6aecfc0db003
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118889
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 9d7fd36ae543..dc896a28cf4e 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -1171,6 +1171,10 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
             {
                 xClass->setNodeValue("GtkToggleButton");
             }
+            else if (sClass == "GtkSeparatorToolItem")
+            {
+                xClass->setNodeValue("GtkSeparator");
+            }
             else if (sClass == "GtkBox")
             {
                 // reverse the order of the pack-type=end widgets


More information about the Libreoffice-commits mailing list