From 6ff24b994e34d343e5e91b99b971aa43a841341e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 8 Feb 2019 09:06:06 +0000 Subject: drop propagate natural MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rather than have version specific behaviour Change-Id: I75866a45859f93d290f79c63b586fee2a19816f3 Reviewed-on: https://gerrit.libreoffice.org/67529 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/unx/gtk3/gtk3gtkinst.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'vcl') diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 58ab06ca987f..ac8f05a65776 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -7842,17 +7842,6 @@ private: if (gtk_label_get_use_underline(pLabel)) m_aMnemonicLabels.push_back(pLabel); } - else if (GTK_IS_SCROLLED_WINDOW(pWidget)) - { -#if GTK_CHECK_VERSION(3, 22, 0) - // while the .ui version is 3.18, do this in code when possible - if (gtk_check_version(3, 22, 0) == nullptr) - { - gtk_scrolled_window_set_propagate_natural_width(GTK_SCROLLED_WINDOW(pWidget), true); - gtk_scrolled_window_set_propagate_natural_height(GTK_SCROLLED_WINDOW(pWidget), true); - } -#endif - } else if (GTK_IS_WINDOW(pWidget)) { if (m_pStringReplace != nullptr) { -- cgit