GtkSymbolicColor: Initialize alpha when resolving shades.

This commit is contained in:
Carlos Garnacho 2010-10-23 21:40:20 +02:00
parent 975f133d63
commit 4ca3b5071e

View File

@ -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;
}