diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-12 12:54:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-12 15:55:02 +0200 |
commit | 47cb7376447b35ae6e235a147dfe558390484efb (patch) | |
tree | 9aad5cd5a2426c7d7f3c335e7ac27cc145b12d24 /vcl | |
parent | dad39d0022ed267ede3e8e589854f7eb73e602f3 (diff) |
gtk4: renable providing parent to native dialogs
Change-Id: Ic21d57d8c58db855d80cb905e45a3cd37985ca0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115480
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtkinst.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 9d9a852444d8..93c8197f75c1 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -18449,10 +18449,8 @@ weld::Window* GtkInstance::GetFrameWeld(const css::uno::Reference<css::awt::XWin weld::Window* GtkSalFrame::GetFrameWeld() const { -#if !GTK_CHECK_VERSION(4, 0, 0) if (!m_xFrameWeld) m_xFrameWeld.reset(new GtkInstanceWindow(GTK_WINDOW(widget_get_root(getWindow())), nullptr, false)); -#endif return m_xFrameWeld.get(); } |