Index: src/cairo_gstate.c =================================================================== RCS file: /cvs/cairo/cairo/src/cairo_gstate.c,v retrieving revision 1.74 diff -u -r1.74 cairo_gstate.c --- src/cairo_gstate.c 21 Jan 2005 23:43:55 -0000 1.74 +++ src/cairo_gstate.c 22 Jan 2005 01:44:18 -0000 @@ -48,6 +48,9 @@ static void _cairo_gstate_unset_font (cairo_gstate_t *gstate); +static cairo_status_t +_cairo_gstate_ensure_font (cairo_gstate_t *gstate); + cairo_gstate_t * _cairo_gstate_create () { @@ -2218,7 +2221,7 @@ _cairo_gstate_current_font (cairo_gstate_t *gstate, cairo_font_t **font) { - status = _cairo_gstate_ensure_font (gstate); + cairo_status_t status = _cairo_gstate_ensure_font (gstate); if (status) return status;