[gtk+] themingengine: set the right coordinates for the rounded box rect



commit 61c253a13230ad2d7ff07e6e082ef8d47d35784c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jun 11 13:32:15 2011 -0400

    themingengine: set the right coordinates for the rounded box rect

 gtk/gtkthemingengine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 47f6b9a..2e8d0ae 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1689,7 +1689,7 @@ render_frame_internal (GtkThemingEngine *engine,
 
   cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
 
-  _gtk_rounded_box_init_rect (&border_box, 0, 0, width, height);
+  _gtk_rounded_box_init_rect (&border_box, x, y, width, height);
   _gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction);
   padding_box = border_box;
   _gtk_rounded_box_shrink (&padding_box, border.top, border.right, border.bottom, border.left);



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