[Libreoffice-commits] core.git: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 1 12:40:38 UTC 2018
vcl/unx/gtk3/gtk3gtkinst.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit af9423b73b3b50cb1e48f08edc812331132470bf
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Nov 30 11:47:07 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Dec 1 13:40:18 2018 +0100
src/dest widget args reversed
Change-Id: I60062d5111bbdab4f212770fe33992781254f733
Reviewed-on: https://gerrit.libreoffice.org/64340
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 4af889dd4d08..7cf2f66a6434 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1452,8 +1452,9 @@ public:
{
//for toplevel windows this is sadly futile under wayland, so we can't tell where a dialog is in order to allow
//the document underneath to auto-scroll to place content in a visible location
- gboolean ret = gtk_widget_translate_coordinates(dynamic_cast<GtkInstanceWidget&>(rRelative).getWidget(),
- m_pWidget, 0, 0, &x, &y);
+ gboolean ret = gtk_widget_translate_coordinates(m_pWidget,
+ dynamic_cast<GtkInstanceWidget&>(rRelative).getWidget(),
+ 0, 0, &x, &y);
width = gtk_widget_get_allocated_width(m_pWidget);
height = gtk_widget_get_allocated_height(m_pWidget);
return ret;
More information about the Libreoffice-commits
mailing list