vcl/unx/gtk4/convert3to4.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 58daee3693e6881e1412715db195009c9ab39f46 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Jan 21 14:19:48 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Jan 21 17:03:23 2022 +0100 gtk4: GtkPopover::modal has been renamed to autohide Change-Id: I0ccfbc1284ef85ea276979d3133f30628517200a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128734 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 f975196062b7..ec362aea71b5 100644 --- a/vcl/unx/gtk4/convert3to4.cxx +++ b/vcl/unx/gtk4/convert3to4.cxx @@ -451,6 +451,13 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode xPropertyLabel = xChild; } + if (sName == "modal") + { + OUString sParentClass = GetParentObjectType(xChild); + if (sParentClass == "GtkPopover") + xName->setNodeValue("autohide"); + } + if (sName == "visible") bHasVisible = true;