1
0
Fork 0

2007-10-16 Emmanuele bassi <ebassi@openedhand.com>

* clutter/clutter-color.c: Copy the alpha when shading.
This commit is contained in:
Emmanuele Bassi 2007-10-16 09:39:15 +00:00
parent f8de77ac92
commit 5737a8b79a
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2007-10-16 Emmanuele bassi <ebassi@openedhand.com>
* clutter/clutter-color.c: Copy the alpha when shading.
2007-10-16 Tomas Frydrych <tf@o-hand.com> 2007-10-16 Tomas Frydrych <tf@o-hand.com>
* clutter.symbols: * clutter.symbols:
@ -5,7 +9,8 @@
* clutter/clutter-script.c: * clutter/clutter-script.c:
* json/json-node.c: * json/json-node.c:
Use g_slice_new0 instead of g_slice_new to avoid passing garbage to functions. Use g_slice_new0 instead of g_slice_new to avoid passing
garbage to functions.
* tests/test-threads.c: * tests/test-threads.c:
Replaced non-portable sleep() with g_usleep(). Replaced non-portable sleep() with g_usleep().

View file

@ -372,7 +372,7 @@ clutter_color_shade (const ClutterColor *src,
ClutterColor *dest, ClutterColor *dest,
gdouble shade) gdouble shade)
{ {
clutter_color_shadex (src, dest, CLUTTER_FLOAT_TO_FIXED (shade)); clutter_color_shadex (src, dest, CLUTTER_FLOAT_TO_FIXED (shade));
} }
/** /**
@ -413,6 +413,7 @@ clutter_color_shadex (const ClutterColor *src,
s = 0; s = 0;
clutter_color_from_hlsx (dest, h, l, s); clutter_color_from_hlsx (dest, h, l, s);
dest->alpha = src->alpha;
} }
/** /**