Kaydet (Commit) 0aa3a73c authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: rhbz#998136 different index to gWidgetData vs NWEnsureGTKNotebook

Change-Id: Ib3ebbfda09cd05477b65c1d81ac77e977b2a11e5
üst 6abf5a70
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment