vcl/unx/gtk3/gtkinst.cxx | 9 --------- 1 file changed, 9 deletions(-) New commits: commit 7f9d4ad337ca988545f96cc75bd925a5d0aa8a75 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat May 22 19:44:18 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat May 22 22:09:22 2021 +0200
gtk4: reenable Frame Change-Id: Ic9ce49da26c6ca673ac0980ab32895d8eda8da54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116001 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 760384cba800..e2fb757024b9 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -14621,14 +14621,10 @@ public: std::unique_ptr<weld::Label> GtkInstanceFrame::weld_label_widget() const { -#if !GTK_CHECK_VERSION(4, 0, 0) GtkWidget* pLabel = gtk_frame_get_label_widget(m_pFrame); if (!pLabel || !GTK_IS_LABEL(pLabel)) return nullptr; return std::make_unique<GtkInstanceLabel>(GTK_LABEL(pLabel), m_pBuilder, false); -#else - return nullptr; -#endif } #if !GTK_CHECK_VERSION(4, 0, 0) @@ -18987,16 +18983,11 @@ public: virtual std::unique_ptr<weld::Frame> weld_frame(const OString &id) override { -#if !GTK_CHECK_VERSION(4, 0, 0) GtkFrame* pFrame = GTK_FRAME(gtk_builder_get_object(m_pBuilder, id.getStr())); if (!pFrame) return nullptr; auto_add_parentless_widgets_to_container(GTK_WIDGET(pFrame)); return std::make_unique<GtkInstanceFrame>(pFrame, this, false); -#else - (void)id; - return nullptr; -#endif } virtual std::unique_ptr<weld::ScrolledWindow> weld_scrolled_window(const OString &id, bool bUserManagedScrolling = false) override _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits