[gnome-themes-standard] notebook: properly align border strokes



commit ab9407368046c3f53dc60284c271201cf494c268
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 4 01:58:29 2011 -0500

    notebook: properly align border strokes

 src/adwaita_engine.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/adwaita_engine.c b/src/adwaita_engine.c
index bda60b6..7dc4aae 100644
--- a/src/adwaita_engine.c
+++ b/src/adwaita_engine.c
@@ -599,9 +599,10 @@ render_notebook_extension (GtkThemingEngine *engine,
 		cairo_translate (cr, width, height);
 	}
 
-	cairo_translate (cr, x, y);
+	cairo_translate (cr, x + 0.5, y);
 	cairo_rotate (cr, angle);
 
+	width -= 1.0;
 	draw_tab_shape_active (cr, tab_curvature, 0, 0, width, height);
 
 	if (background_pattern != NULL) {



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