vcl/unx/gtk4/convert3to4.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 1385203dd927ac85939215d9e5b048aa49f0a4cf Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Jan 25 14:24:26 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jan 25 17:06:21 2022 +0100 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 <caol...@redhat.com> 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 ?