From d8f88cf3f97af6771a4d77bf81e1025eb7bcfd1d Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 9 Sep 2010 11:00:42 +0200 Subject: [PATCH] recording: Fix cairo_recording_surface_create() doc comments The name of the parameters in the docs should match the name of the function parameters. Added also return value docs. --- src/cairo-recording-surface.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index f814ed005..211d6620e 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -102,8 +102,8 @@ static const cairo_surface_backend_t cairo_recording_surface_backend; /** * cairo_recording_surface_create: * @content: the content of the recording surface - * @extents_pixels: the extents to record in pixels, can be %NULL to record - * unbounded operations. + * @extents: the extents to record in pixels, can be %NULL to record + * unbounded operations. * * Creates a recording-surface which can be used to record all drawing operations * at the highest level (that is, the level of paint, mask, stroke, fill @@ -114,7 +114,11 @@ static const cairo_surface_backend_t cairo_recording_surface_backend; * necessary objects (paths, patterns, etc.), in order to achieve * accurate replay. * - * Since 1.10 + * Return value: a pointer to the newly created surface. The caller + * owns the surface and should call cairo_surface_destroy() when done + * with it. + * + * Since: 1.10 **/ cairo_surface_t * cairo_recording_surface_create (cairo_content_t content,