summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx12
1 files changed, 0 insertions, 12 deletions
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);