From 7ca9121c32588e301141d86e658b656e407bb0c6 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 6 Sep 2014 08:01:13 +0100 Subject: [PATCH] gtk-doc fixes --- libvips/create/black.c | 4 ++-- libvips/create/gaussmat.c | 2 +- libvips/create/gaussnoise.c | 2 +- libvips/create/logmat.c | 2 +- libvips/create/text.c | 3 ++- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/libvips/create/black.c b/libvips/create/black.c index 9c4ad4a1..83ac451c 100644 --- a/libvips/create/black.c +++ b/libvips/create/black.c @@ -1,4 +1,4 @@ -/* im_black.c +/* black.c * * Copyright: 1990, J. Cupitt * @@ -166,7 +166,7 @@ vips_black_init( VipsBlack *black ) * * Make a black unsigned char image of a specified size. * - * See also: im_make_xy(), im_text(), im_gaussnoise(). + * See also: vips_xyz(), vips_text(), vips_gaussnoise(). * * Returns: 0 on success, -1 on error */ diff --git a/libvips/create/gaussmat.c b/libvips/create/gaussmat.c index 802468ce..667bd076 100644 --- a/libvips/create/gaussmat.c +++ b/libvips/create/gaussmat.c @@ -225,7 +225,7 @@ vips_gaussmat_init( VipsGaussmat *gaussmat ) * * "scale" is set to the sum of all the mask elements. * - * See also: im_log_dmask(), vips_conv(). + * See also: vips_logmat(), vips_conv(). * * Returns: 0 on success, -1 on error */ diff --git a/libvips/create/gaussnoise.c b/libvips/create/gaussnoise.c index ccbae21c..ba394dad 100644 --- a/libvips/create/gaussnoise.c +++ b/libvips/create/gaussnoise.c @@ -207,7 +207,7 @@ vips_gaussnoise_init( VipsGaussnoise *gaussnoise ) * distribution. The noise distribution is created by averaging 12 random * numbers with the appropriate weights. * - * See also: vips_black(), im_make_xy(), im_text(). + * See also: vips_black(), vips_xyz(), vips_text(). * * Returns: 0 on success, -1 on error */ diff --git a/libvips/create/logmat.c b/libvips/create/logmat.c index 2130cad7..09bcb6ef 100644 --- a/libvips/create/logmat.c +++ b/libvips/create/logmat.c @@ -256,7 +256,7 @@ vips_logmat_init( VipsLogmat *logmat ) * * "scale" is set to the sum of all the mask elements. * - * See also: vips_gauss(), vips_conv(). + * See also: vips_gaussmat(), vips_conv(). * * Returns: 0 on success, -1 on error */ diff --git a/libvips/create/text.c b/libvips/create/text.c index bb53fb91..98b8fb33 100644 --- a/libvips/create/text.c +++ b/libvips/create/text.c @@ -212,7 +212,8 @@ vips_text_build( VipsObject *object ) text->bitmap.pitch = (text->bitmap.width + 3) & ~3; text->bitmap.rows = height; if( !(text->bitmap.buffer = - im_malloc( NULL, text->bitmap.pitch * text->bitmap.rows )) ) { + VIPS_ARRAY( NULL, + text->bitmap.pitch * text->bitmap.rows, VipsPel )) ) { g_mutex_unlock( vips_text_lock ); return( -1 ); }