summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-08 09:06:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-08 11:11:53 +0100
commit6ff24b994e34d343e5e91b99b971aa43a841341e (patch)
treebce3b7dbe0d4b6ef1da133f82090125925141691 /vcl
parenteb25b3c94053b4b614d7c8f983158d6519e530c1 (diff)
drop propagate natural
rather than have version specific behaviour Change-Id: I75866a45859f93d290f79c63b586fee2a19816f3 Reviewed-on: https://gerrit.libreoffice.org/67529 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx11
1 files changed, 0 insertions, 11 deletions
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) {