From 9ba314396b522a8c74a59f85ccadce83f6ca0252 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Thu, 18 Jan 2007 07:21:41 +0000 Subject: [PATCH] fixed bug in clutter_color_darken/lighten() --- ChangeLog | 6 ++++++ clutter/clutter-color.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 787f370..5395dea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-18 Tomas Frydrych + * 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 * configure.ac: diff --git a/clutter/clutter-color.c b/clutter/clutter-color.c index c29a542..af81fc8 100644 --- a/clutter/clutter-color.c +++ b/clutter/clutter-color.c @@ -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); } /** -- 2.7.4