[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 16 19:24:04 UTC 2021
vcl/unx/gtk3/gtkinst.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 27db3bfede6a74a00da20062db6fd6c47d4d9df1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat May 15 21:23:01 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun May 16 21:23:25 2021 +0200
gtk3: remove fallback now all dialogs are complete
Change-Id: I02c1e435819b704d5849bcb27097dae7f1ba03f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115667
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 98ee56a427b0..68d539eaf6b0 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -18970,8 +18970,6 @@ weld::Builder* GtkInstance::CreateBuilder(weld::Widget* pParent, const OUString&
}
#endif
GtkInstanceWidget* pParentWidget = dynamic_cast<GtkInstanceWidget*>(pParent);
- if (pParent && !pParentWidget) //remove when complete
- return SalInstance::CreateBuilder(pParent, rUIRoot, rUIFile);
GtkWidget* pBuilderParent = pParentWidget ? pParentWidget->getWidget() : nullptr;
return new GtkInstanceBuilder(pBuilderParent, rUIRoot, rUIFile, nullptr, true);
}
More information about the Libreoffice-commits
mailing list