[gtk+] Dueling arrow positioning fixes...



commit f3a66d078316e43a712c6493fc9ffd32d022dbc5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 8 21:33:12 2011 -0400

    Dueling arrow positioning fixes...
    
    Revert my fix, which conflicted with Benjamins fix for the same
    issue.

 gtk/gtkarrow.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index 431fd9b..b8744e7 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)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]