summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-image-surface.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-05-10 00:57:44 +0200
committerBehdad Esfahbod <behdad@behdad.org>2008-05-10 01:21:44 +0200
commitdca892c83ea7d115fba0ce66a69464c36cadf74c (patch)
tree280410dd32b9e66ad4d8a2b8ad65b95242bcbeaf /src/cairo-quartz-image-surface.c
parent1246ff8aec9054d1d550dd1401b67fac4035cce0 (diff)
Fix gtk-doc warnings
Diffstat (limited to 'src/cairo-quartz-image-surface.c')
-rw-r--r--src/cairo-quartz-image-surface.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c
index 124a803c..e0c69a91 100644
--- a/src/cairo-quartz-image-surface.c
+++ b/src/cairo-quartz-image-surface.c
@@ -274,7 +274,7 @@ static const cairo_surface_backend_t cairo_quartz_image_surface_backend = {
/**
* cairo_quartz_image_surface_create
- * @surface: a cairo image surface to wrap with a quartz image surface
+ * @image_surface: a cairo image surface to wrap with a quartz image surface
*
* Creates a Quartz surface backed by a CGImageRef that references the
* given image surface. The resulting surface can be rendered quickly
@@ -288,7 +288,7 @@ static const cairo_surface_backend_t cairo_quartz_image_surface_backend = {
* Since: 1.6
*/
cairo_surface_t *
-cairo_quartz_image_surface_create (cairo_surface_t *surface)
+cairo_quartz_image_surface_create (cairo_surface_t *image_surface)
{
cairo_quartz_image_surface_t *qisurf;
@@ -299,10 +299,10 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
cairo_format_t format;
unsigned char *data;
- if (cairo_surface_get_type(surface) != CAIRO_SURFACE_TYPE_IMAGE)
+ if (cairo_surface_get_type(image_surface) != CAIRO_SURFACE_TYPE_IMAGE)
return SURFACE_ERROR_NO_MEMORY;
- image_surface = (cairo_image_surface_t*) surface;
+ image_surface = (cairo_image_surface_t*) image_surface;
width = image_surface->width;
height = image_surface->height;
stride = image_surface->stride;
@@ -328,7 +328,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
* be released via the callback (which will be called in
* case of failure.)
*/
- cairo_surface_reference (surface);
+ cairo_surface_reference (image_surface);
image = _cairo_quartz_create_cgimage (format,
width, height,
@@ -337,7 +337,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
TRUE,
NULL,
DataProviderReleaseCallback,
- surface);
+ image_surface);
if (!image) {
free (qisurf);