vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9d1bd78f2c844bc11be256c48bf2981dbe559943 Author: Caolán McNamara <[email protected]> Date: Tue Aug 20 14:25:22 2013 +0100 Resolves: rhbz#998136 different index to gWidgetData vs NWEnsureGTKNotebook Change-Id: Ib3ebbfda09cd05477b65c1d81ac77e977b2a11e5 (cherry picked from commit 0aa3a73c9463f4d1e8918383b21131352635fe75) Reviewed-on: https://gerrit.libreoffice.org/5546 Reviewed-by: Thorsten Behrens <[email protected]> Tested-by: Thorsten Behrens <[email protected]> Reviewed-by: Michael Stahl <[email protected]> Reviewed-by: Christian Lohmaier <[email protected]> Tested-by: Christian Lohmaier <[email protected]> diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index d8c645a..53fce0a 100755 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -1607,8 +1607,8 @@ static Rectangle NWGetTabItemRect( SalX11Screen nScreen, Rectangle aAreaRect ) w = aAreaRect.GetWidth(); h = aAreaRect.GetHeight(); - gint xthickness = gWidgetData[0].gNotebookWidget->style->xthickness; - gint ythickness = gWidgetData[0].gNotebookWidget->style->ythickness; + gint xthickness = gWidgetData[nScreen].gNotebookWidget->style->xthickness; + gint ythickness = gWidgetData[nScreen].gNotebookWidget->style->ythickness; x -= xthickness; y -= ythickness;
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
