summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-06 16:57:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-07 09:27:21 +0200
commitac31428d3f4a673e4876609632c41bc218be5e4f (patch)
treeab4cf058572f9c405cb3a9948ec408a5cdc8be1a /vcl/unx
parent91d971c6dc0ba4753ba3e1939b0b65b09469f739 (diff)
gtk4: replace GtkToolItem with GtkBox
Change-Id: I02067a4b22817518451daf5d93de8d89dc8e5027 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118522 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk4/convert3to4.cxx4
1 files changed, 4 insertions, 0 deletions
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");