update changelog for intospection fixes

and default on, since there are now so few warnings
This commit is contained in:
John Cupitt 2022-02-15 10:59:11 +00:00
parent 69bf2be12b
commit f6dafd6fc6
3 changed files with 6 additions and 5 deletions

View File

@ -6,6 +6,7 @@
- add "password" option to pdfload
- improve the pixel rng
- add meson build system [tintou]
- improve introspection annotations [tintou]
26/11/21 started 8.12.3
- better arg checking for hist_find_ndim [travisbell]

View File

@ -1878,21 +1878,21 @@ vips_image_get_as_string( const VipsImage *image,
/**
* vips_image_print_field:
* @image: image to get the header field from
* @field: field name
* @name: field name
*
* Prints field @name to stdout as ASCII. Handy for debugging.
*/
void
vips_image_print_field( const VipsImage *image, const char *field )
vips_image_print_field( const VipsImage *image, const char *name )
{
char *str;
if( vips_image_get_as_string( image, field, &str ) ) {
if( vips_image_get_as_string( image, name, &str ) ) {
printf( "vips_image_print_field: unable to read field\n" );
return;
}
printf( ".%s: %s\n", field, str );
printf( ".%s: %s\n", name, str );
g_free( str );
}

View File

@ -2,7 +2,7 @@ option('deprecated', type : 'boolean', value : true, description: 'Build depreca
option('doxygen', type : 'boolean', value : false, description: 'Build C++ documentation')
option('gtk_doc', type : 'boolean', value : false, description: 'Build GTK-doc documentation')
option('modules', type : 'feature', value : 'auto', description: 'Build dynamic modules')
option('introspection', type : 'boolean', value : false, description: 'Build GObject Introspection')
option('introspection', type : 'boolean', value : true, description: 'Build GObject Introspection')
option('vapi', type : 'boolean', value : false, description: 'Build VAPI')
# External libraries
option('cfitsio', type : 'feature', value : 'auto', description: 'Build with cfitsio')