diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-30 11:47:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-01 13:40:18 +0100 |
commit | af9423b73b3b50cb1e48f08edc812331132470bf (patch) | |
tree | b9421f3da81ea482f1c6b26406e0d1593a7d21ac /vcl | |
parent | 525f7c67731fe9fa7ab7fc89e9396aa28f8f674a (diff) |
src/dest widget args reversed
Change-Id: I60062d5111bbdab4f212770fe33992781254f733
Reviewed-on: https://gerrit.libreoffice.org/64340
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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; |