diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-01-25 14:24:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-01-25 17:06:21 +0100 |
commit | 1385203dd927ac85939215d9e5b048aa49f0a4cf (patch) | |
tree | b57b48c7b335e5412d79eef3abebdf173abd0f12 | |
parent | bb9e718e6ae037ab0fadebe99da8f28fc5576e8a (diff) |
gtk4: GtkSpinButton doesn't have has-frame anymore
Change-Id: If2d230021e7b1e4777e2b663aa835e3917d896d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128929
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/unx/gtk4/convert3to4.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx index 3a2e28587546..89d08fce3632 100644 --- a/vcl/unx/gtk4/convert3to4.cxx +++ b/vcl/unx/gtk4/convert3to4.cxx @@ -545,6 +545,12 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode xRemoveList.push_back(xChild); } + if (sName == "has-frame") + { + if (GetParentObjectType(xChild) == "GtkSpinButton") + xRemoveList.push_back(xChild); + } + if (sName == "toolbar-style") { // is there an equivalent for this ? |