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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 20 14:25:24 UTC 2021


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

New commits:
commit 89b99c600078a4c2903f06554b80f17d88318a19
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Apr 20 14:01:17 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Apr 20 16:24:27 2021 +0200

    setting vertical when horizontal wanted
    
    Change-Id: If0dbf943ea6db350f691c867d425603e86ccdd4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114336
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 5ee5a9bf0bb3..7e84a16e3bc1 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -5981,7 +5981,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