fixed bug in clutter_color_darken/lighten()

This commit is contained in:
Tomas Frydrych 2007-01-18 07:21:41 +00:00
parent f2c6a16363
commit 9ba314396b
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-01-18 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-color.c:
(clutter_color_darken):
(clutter_color_lighten):
Changed calls to clutter_color_shade calls to clutter_color_shadex
2007-01-17 Matthew Allum <mallum@openedhand.com>
* configure.ac:

View File

@ -108,7 +108,7 @@ clutter_color_lighten (const ClutterColor *src,
ClutterColor *dest)
{
/* 0x14ccd is ClutterFixed for 1.3 */
clutter_color_shade (src, dest, 0x14ccd);
clutter_color_shadex (src, dest, 0x14ccd);
}
/**
@ -124,7 +124,7 @@ clutter_color_darken (const ClutterColor *src,
ClutterColor *dest)
{
/* 0xb333 is ClutterFixed for 0.7 */
clutter_color_shade (src, dest, 0xb333);
clutter_color_shadex (src, dest, 0xb333);
}
/**