[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 8 10:12:20 UTC 2019


 vcl/unx/gtk3/gtk3gtkinst.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 6ff24b994e34d343e5e91b99b971aa43a841341e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Feb 8 09:06:06 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Feb 8 11:11:53 2019 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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) {


More information about the Libreoffice-commits mailing list