gtk-doc fixes

This commit is contained in:
John Cupitt 2014-09-06 08:01:13 +01:00
parent 6f8b5c6745
commit 7ca9121c32
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* im_black.c /* black.c
* *
* Copyright: 1990, J. Cupitt * Copyright: 1990, J. Cupitt
* *
@ -166,7 +166,7 @@ vips_black_init( VipsBlack *black )
* *
* Make a black unsigned char image of a specified size. * 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 * Returns: 0 on success, -1 on error
*/ */

View File

@ -225,7 +225,7 @@ vips_gaussmat_init( VipsGaussmat *gaussmat )
* *
* "scale" is set to the sum of all the mask elements. * "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 * Returns: 0 on success, -1 on error
*/ */

View File

@ -207,7 +207,7 @@ vips_gaussnoise_init( VipsGaussnoise *gaussnoise )
* distribution. The noise distribution is created by averaging 12 random * distribution. The noise distribution is created by averaging 12 random
* numbers with the appropriate weights. * 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 * Returns: 0 on success, -1 on error
*/ */

View File

@ -256,7 +256,7 @@ vips_logmat_init( VipsLogmat *logmat )
* *
* "scale" is set to the sum of all the mask elements. * "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 * Returns: 0 on success, -1 on error
*/ */

View File

@ -212,7 +212,8 @@ vips_text_build( VipsObject *object )
text->bitmap.pitch = (text->bitmap.width + 3) & ~3; text->bitmap.pitch = (text->bitmap.width + 3) & ~3;
text->bitmap.rows = height; text->bitmap.rows = height;
if( !(text->bitmap.buffer = 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 ); g_mutex_unlock( vips_text_lock );
return( -1 ); return( -1 );
} }