[gtk-theme-engine-clearlooks] Suppress a build warning



commit e001b126f04909a9170538b4d539b161a75d09e6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 19 14:15:29 2011 +0100

    Suppress a build warning

 src/clearlooks_draw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/clearlooks_draw.c b/src/clearlooks_draw.c
index 5c8ea28..1640574 100644
--- a/src/clearlooks_draw.c
+++ b/src/clearlooks_draw.c
@@ -295,7 +295,7 @@ clearlooks_draw_button (cairo_t *cr,
 	double xoffset = 0, yoffset = 0;
 	gint radius;
 	GtkStateFlags state;
-	const CairoColor *fill;
+	CairoColor *fill;
 	CairoColor border_normal;
 	CairoColor border_disabled;
 	CairoColor shadow;
@@ -443,7 +443,7 @@ clearlooks_draw_button (cairo_t *cr,
 
 	cairo_restore (cr);
 
-	gdk_rgba_free (fill);
+	gdk_rgba_free ((GdkRGBA *) fill);
 }
 
 static void



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