diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-02-28 23:31:06 +0200 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-03-01 01:21:31 +0200 |
commit | 5b7f4bb241f3191c1589cd714f373719efded56e (patch) | |
tree | 6eb5cf59bb1b3ac50304dc1a4465450e83e06517 /boilerplate | |
parent | 620cd9c2be4a6bef790e6818652470a5c53d578d (diff) |
api: Introduce CAIRO_FORMAT_INVALID formally in the API.
We were exposing the actual value of CAIRO_FORMAT_INVALID
through API functions already, so it makes sense to just
go ahead and put it in the cairo_format_t enum.
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c index d3f312f3..2a3a354d 100644 --- a/boilerplate/cairo-boilerplate.c +++ b/boilerplate/cairo-boilerplate.c @@ -115,7 +115,7 @@ cairo_boilerplate_format_from_content (cairo_content_t content) case CAIRO_CONTENT_ALPHA: format = CAIRO_FORMAT_A8; break; default: assert (0); /* not reached */ - format = (cairo_format_t) -1; + format = CAIRO_FORMAT_INVALID; break; } |