summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-12-21 11:13:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-12-21 16:06:25 +0100
commitb7af960c023bd8b5f1e0d53efa8b4802f77cc3c4 (patch)
tree83e1fb82f7921b6c9ce8156507bb3d153d1184aa
parentbe59ff1de66c88c23af41080d6fb2d80be9e0d76 (diff)
Fix reversed values for gtk_container_child_set (vcl/gtk3)
Change-Id: Ie9597a72380d4c7fe0647a175febfccf362bd20f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108090 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 5e329b541111..05f103ffc586 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1819,8 +1819,8 @@ namespace
if (GTK_IS_GRID(pParent))
{
gtk_container_child_set(GTK_CONTAINER(pParent), pReplacement,
- "left-attach", nTopAttach,
- "top-attach", nLeftAttach,
+ "left-attach", nLeftAttach,
+ "top-attach", nTopAttach,
"width", nWidth,
"height", nHeight,
nullptr);