Fix a arrow positioning

This gets the misc-alignment test for arrows closer to
not failing.
This commit is contained in:
Matthias Clasen 2011-05-08 21:16:05 -04:00
parent 42450cacd9
commit 3b3c5e19d9

View File

@ -345,8 +345,8 @@ gtk_arrow_draw (GtkWidget *widget,
effective_arrow_type = GTK_ARROW_LEFT;
}
x = xpad + ((width - extent) * xalign);
y = ypad + ((height - extent) * yalign);
x = xpad + ((width - 2 * xpad - extent) * xalign);
y = ypad + ((height - 2 * ypad - extent) * yalign);
switch (effective_arrow_type)
{