gtk-engines r1178 - in trunk: . engines/clearlooks/src



Author: bberg
Date: Sat May 10 18:43:10 2008
New Revision: 1178
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1178&view=rev

Log:
2008-05-10  Benjamin Berg  <benjamin sipsolutions net>

	* engines/clearlooks/src/clearlooks_draw.c:
	(clearlooks_draw_shadow):
	Place the corner correctly.


Modified:
   trunk/ChangeLog
   trunk/engines/clearlooks/src/clearlooks_draw.c

Modified: trunk/engines/clearlooks/src/clearlooks_draw.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_draw.c	(original)
+++ trunk/engines/clearlooks/src/clearlooks_draw.c	Sat May 10 18:43:10 2008
@@ -111,7 +111,7 @@
 	cairo_set_source_rgba (cr, shadow.r, shadow.g, shadow.b, 0.1);
 
 	cairo_move_to (cr, width - 0.5, radius);
-	ge_cairo_rounded_corner (cr, width, height, radius, CR_CORNER_BOTTOMRIGHT);
+	ge_cairo_rounded_corner (cr, width - 0.5, height - 0.5, radius, CR_CORNER_BOTTOMRIGHT);
 	cairo_line_to (cr, radius, height - 0.5);
 
 	cairo_stroke (cr);



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