summaryrefslogtreecommitdiff
path: root/gtk/gtkarrow.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-05-08 21:33:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-05-08 21:33:12 -0400
commitf3a66d078316e43a712c6493fc9ffd32d022dbc5 (patch)
tree3893482ef3536e027416b1eb3a57d64c16d870e5 /gtk/gtkarrow.c
parent432e89685fe477e5fa8644c1035cd6ab3854dc7e (diff)
downloadgtk+-f3a66d078316e43a712c6493fc9ffd32d022dbc5.tar.gz
Dueling arrow positioning fixes...
Revert my fix, which conflicted with Benjamins fix for the same issue.
Diffstat (limited to 'gtk/gtkarrow.c')
-rw-r--r--gtk/gtkarrow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index 431fd9bc11..b8744e70ba 100644
--- a/gtk/gtkarrow.c
+++ b/gtk/gtkarrow.c
@@ -345,8 +345,8 @@ gtk_arrow_draw (GtkWidget *widget,
effective_arrow_type = GTK_ARROW_LEFT;
}
- x = xpad + ((width - 2 * xpad - extent) * xalign);
- y = ypad + ((height - 2 * ypad - extent) * yalign);
+ x = xpad + ((width - extent) * xalign);
+ y = ypad + ((height - extent) * yalign);
switch (effective_arrow_type)
{