[quartz] Rename public function parameter from surf -> surface

This commit is contained in:
Vladimir Vukicevic 2007-02-20 16:16:18 -08:00 committed by Vladimir Vukicevic
parent 28c1e46b8e
commit e4a1410514
2 changed files with 5 additions and 5 deletions

View file

@ -1745,7 +1745,7 @@ cairo_quartz_surface_create (cairo_format_t format,
/**
* cairo_quartz_surface_get_cg_context
* @surf: the Cairo Quartz surface
* @surface: the Cairo Quartz surface
*
* Returns the CGContextRef that the given Quartz surface is backed
* by.
@ -1755,11 +1755,11 @@ cairo_quartz_surface_create (cairo_format_t format,
* Since: 1.4
**/
CGContextRef
cairo_quartz_surface_get_cg_context (cairo_surface_t *surf)
cairo_quartz_surface_get_cg_context (cairo_surface_t *surface)
{
cairo_nquartz_surface_t *nquartz = (cairo_nquartz_surface_t*)surf;
cairo_nquartz_surface_t *nquartz = (cairo_nquartz_surface_t*)surface;
if (cairo_surface_get_type(surf) != CAIRO_SURFACE_TYPE_QUARTZ)
if (cairo_surface_get_type(surface) != CAIRO_SURFACE_TYPE_QUARTZ)
return NULL;
return nquartz->cgContext;

View file

@ -66,7 +66,7 @@ cairo_quartz_surface_create_for_cg_context (CGContextRef cgContext,
unsigned int height);
cairo_public CGContextRef
cairo_quartz_surface_get_cg_context (cairo_surface_t *surf);
cairo_quartz_surface_get_cg_context (cairo_surface_t *surface);
CAIRO_END_DECLS