vcl/unx/gtk3/gtk3gtkinst.cxx | 12 ------------ 1 file changed, 12 deletions(-)
New commits: commit a1fe4f5ab192bdbc0d65225ceecc047319cf47f1 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Feb 26 16:41:57 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Feb 26 22:07:41 2019 +0100 parentclass set_size_request is sufficient Change-Id: I872fdb2d6d4c6279b6d4dc8f38e1153fcd919f22 Reviewed-on: https://gerrit.libreoffice.org/68395 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 403155ddf7d1..8888bb4b36a1 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -6157,18 +6157,6 @@ public: return (nMaxRowHeight * nRows) + (nVerticalSeparator * (nRows + 1)); } - virtual void set_size_request(int nWidth, int nHeight) override - { - GtkWidget* pParent = gtk_widget_get_parent(m_pWidget); - if (GTK_IS_SCROLLED_WINDOW(pParent)) - { - gtk_scrolled_window_set_min_content_width(GTK_SCROLLED_WINDOW(pParent), nWidth); - gtk_scrolled_window_set_min_content_height(GTK_SCROLLED_WINDOW(pParent), nHeight); - return; - } - gtk_widget_set_size_request(m_pWidget, nWidth, nHeight); - } - virtual Size get_size_request() const override { GtkWidget* pParent = gtk_widget_get_parent(m_pWidget); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits