[cairo-commit] cairo/src cairo_gstate.c,1.74,1.75
Carl Worth
commit at pdx.freedesktop.org
Sun Jan 23 12:12:05 PST 2005
Committed by: cworth
Update of /mirrors/freedesktop/cairo/cairo/src
In directory raht.localdomain:/home/cworth/cr/cairo/src
Modified Files:
cairo_gstate.c
Log Message:
* src/cairo_gstate.c: Add missing prototype for _cairo_gstate_ensure_font.
(_cairo_gstate_current_font): Add missing declaration so things
compile again.
Index: cairo_gstate.c
===================================================================
RCS file: /mirrors/freedesktop/cairo/cairo/src/cairo_gstate.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- cairo_gstate.c 21 Jan 2005 23:43:55 -0000 1.74
+++ cairo_gstate.c 23 Jan 2005 20:12:03 -0000 1.75
@@ -45,6 +45,10 @@
cairo_operator_t operator,
cairo_surface_t *dst,
cairo_traps_t *traps);
+
+static cairo_status_t
+_cairo_gstate_ensure_font (cairo_gstate_t *gstate);
+
static void
_cairo_gstate_unset_font (cairo_gstate_t *gstate);
@@ -2218,6 +2222,8 @@
_cairo_gstate_current_font (cairo_gstate_t *gstate,
cairo_font_t **font)
{
+ cairo_status_t status;
+
status = _cairo_gstate_ensure_font (gstate);
if (status)
return status;
More information about the cairo-commit
mailing list