doc: symbol names in header and comment must match

The names of the function arguments in the function prototype and
in the description comment must match, otherwise gtk-doc is confused.
When the argument names differ between function prototype and
definition, use the names from the prototype.

Also add a missing colon.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Nis Martensen 2012-03-03 23:31:25 +01:00 committed by Uli Schlachter
parent b42270a3f1
commit 6ce412e15a
2 changed files with 4 additions and 4 deletions

View file

@ -83,11 +83,11 @@ typedef enum {
cairo_public void
cairo_ft_font_face_set_synthesize (cairo_font_face_t *font_face,
unsigned int flags);
unsigned int synth_flags);
cairo_public void
cairo_ft_font_face_unset_synthesize (cairo_font_face_t *font_face,
unsigned int flags);
unsigned int synth_flags);
cairo_public unsigned int
cairo_ft_font_face_get_synthesize (cairo_font_face_t *font_face);

View file

@ -283,8 +283,8 @@ 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
* cairo_quartz_image_surface_create:
* @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