Replaced ClutterFixed constants in color_{darken,lighten} with float
authorNeil Roberts <neil@linux.intel.com>
Fri, 20 Feb 2009 11:07:23 +0000 (11:07 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 20 Feb 2009 11:07:23 +0000 (11:07 +0000)
commit97431b46700fbbe966f33fae13f9728d77cb2687
tree0012c746dee59f5129412bf5b5d980bc7ade5c5a
parentf4222c3cfce7ff1214aeac27a77b33c22549f8e6
Replaced ClutterFixed constants in color_{darken,lighten} with float

Bug 1463 - clutter_color_lighten(darken) unexpected because of
           ClutterFixed=>float

These two functions contained ClutterFixed constants represented as
integers which are no longer valid since the cogl-float branch
merge. They are now converted to ClutterFixed from float constants
using CLUTTER_FLOAT_TO_FIXED (which is now a no-op).

Thanks to Zhang Wei for reporting.
clutter/clutter-color.c