summaryrefslogtreecommitdiff
path: root/src/cairo-pen.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2007-04-09 17:12:11 -0700
committerCarl Worth <cworth@cworth.org>2007-04-09 17:12:11 -0700
commitd5b35d7d7666634f1f98d6c0141a2a29976e7e2f (patch)
treeb7e99c7573d73945d6ea89e349bd677f0ebf9dbb /src/cairo-pen.c
parent9077da99abd163ebd0c52e8375e6f40ce60cf7d2 (diff)
downloadcairo-d5b35d7d7666634f1f98d6c0141a2a29976e7e2f.tar.gz
Make _cairo_pen_init_empty void
Yet another function that cannot fail under any circumstances.
Diffstat (limited to 'src/cairo-pen.c')
-rw-r--r--src/cairo-pen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-pen.c b/src/cairo-pen.c
index 0d18782cd..c53201900 100644
--- a/src/cairo-pen.c
+++ b/src/cairo-pen.c
@@ -45,15 +45,13 @@ _cairo_pen_compute_slopes (cairo_pen_t *pen);
static cairo_status_t
_cairo_pen_stroke_spline_half (cairo_pen_t *pen, cairo_spline_t *spline, cairo_direction_t dir, cairo_polygon_t *polygon);
-cairo_status_t
+void
_cairo_pen_init_empty (cairo_pen_t *pen)
{
pen->radius = 0;
pen->tolerance = 0;
pen->vertices = NULL;
pen->num_vertices = 0;
-
- return CAIRO_STATUS_SUCCESS;
}
cairo_status_t