From 4ca3b5071e577ce68ff3ceab179d187e16298578 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 23 Oct 2010 21:40:20 +0200 Subject: [PATCH] GtkSymbolicColor: Initialize alpha when resolving shades. --- gtk/gtksymboliccolor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtksymboliccolor.c b/gtk/gtksymboliccolor.c index 2fa3d18647..92d3eff9e3 100644 --- a/gtk/gtksymboliccolor.c +++ b/gtk/gtksymboliccolor.c @@ -309,6 +309,7 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color, resolved_color->red = CLAMP (shade.red * color->shade.factor, 0, 1); resolved_color->green = CLAMP (shade.green * color->shade.factor, 0, 1); resolved_color->blue = CLAMP (shade.blue * color->shade.factor, 0, 1); + resolved_color->alpha = shade.alpha; return TRUE; }