[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 21 09:42:26 UTC 2021


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 054d0f8f5e6791d03081be7be19abeaad8aab918
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Apr 20 14:01:17 2021 +0100
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Wed Apr 21 11:41:52 2021 +0200

    setting vertical when horizontal wanted
    
    Change-Id: If0dbf943ea6db350f691c867d425603e86ccdd4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114289
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 773b20ac5b07..3d1936b7dd8e 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -5879,7 +5879,7 @@ public:
     {
         GtkPolicyType eGtkVPolicy;
         gtk_scrolled_window_get_policy(m_pScrolledWindow, nullptr, &eGtkVPolicy);
-        gtk_scrolled_window_set_policy(m_pScrolledWindow, eGtkVPolicy, VclToGtk(eHPolicy));
+        gtk_scrolled_window_set_policy(m_pScrolledWindow, VclToGtk(eHPolicy), eGtkVPolicy);
     }
 
     virtual VclPolicyType get_hpolicy() const override


More information about the Libreoffice-commits mailing list