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



Author: bberg
Date: Mon Aug  4 15:44:55 2008
New Revision: 1224
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1224&view=rev

Log:
2008-08-04  Benjamin Berg  <benjamin sipsolutions net>

	* engines/clearlooks/src/clearlooks_style.c:
	(clearlooks_style_draw_shadow):
	Removes unnecessary CairoColor cast to fix build on solaris.
	(bug #535456, patch by Damien Carbery)


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

Modified: trunk/engines/clearlooks/src/clearlooks_style.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_style.c	(original)
+++ trunk/engines/clearlooks/src/clearlooks_style.c	Mon Aug  4 15:44:55 2008
@@ -220,7 +220,7 @@
 		if (CLEARLOOKS_STYLE (style)->style == CL_STYLE_CLASSIC)
 			ge_shade_color ((CairoColor*)&colors->bg[0], 0.78, &border);
 		else
-			border = (CairoColor)colors->shade[5];
+			border = colors->shade[5];
 
 		cairo_rectangle (cr, x+0.5, y+0.5, width-1, height-1);
 		ge_cairo_set_color (cr, &border);



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