diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-13 10:00:18 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-13 10:00:18 +0100 |
commit | 18b48a6ebc044c07f08bafd0abcb68c595c5746c (patch) | |
tree | ba5da724ef2006aaa6fabf75271e4b1122ea4ba9 /src/cairo-color.c | |
parent | dfa2544f158930b002df74e676f3ef7aeeee1bd4 (diff) | |
download | cairo-18b48a6ebc044c07f08bafd0abcb68c595c5746c.tar.gz |
Make cairo_color_stop_t a unique type.
Hopefully reduce the occurrence of the confusion between the
premultiplied shorts in cairo_color_t and the non-premultiplied shorts
in cairo_color_stop_t.
The existence of the two separate types is debatable and open for
review.
Diffstat (limited to 'src/cairo-color.c')
-rw-r--r-- | src/cairo-color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-color.c b/src/cairo-color.c index d6c6c3d9f..ddba5cae8 100644 --- a/src/cairo-color.c +++ b/src/cairo-color.c @@ -176,8 +176,8 @@ _cairo_color_equal (const cairo_color_t *color_a, } cairo_bool_t -_cairo_color_stop_equal (const cairo_color_t *color_a, - const cairo_color_t *color_b) +_cairo_color_stop_equal (const cairo_color_stop_t *color_a, + const cairo_color_stop_t *color_b) { uint16_t a, b; |