summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-01 12:36:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-01 15:27:39 +0200
commit159666084a28ab3591b96cdd390f8fa0ac62bf3c (patch)
treecd0b189e8252a5ed54b9e7cc3e37224a1542d445
parent2907f7d97a3dabe1179f0251791fcee336b26a22 (diff)
gtk4: GtkButtonBox homogeneous isn't the same as GtkBox homogeneous
Change-Id: I9dec7259b2dcbe4d7ea0143eaa33509e2a39d912 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116534 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 02f727c80014..71c340b0c0de 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -20993,6 +20993,13 @@ ConvertResult Convert3To4(const Reference<css::xml::dom::XNode>& xNode)
xRemoveList.push_back(xChild);
}
+ if (sName == "homogeneous")
+ {
+ // e.g. the buttonbox in xml filter dialog
+ if (GetParentObjectType(xChild) == "GtkButtonBox")
+ xRemoveList.push_back(xChild);
+ }
+
if (sName == "shadow-type")
{
if (GetParentObjectType(xChild) == "GtkFrame")