small fixes

This commit is contained in:
John Cupitt 2012-10-26 14:30:51 +01:00
parent db0c05434f
commit 15ba5c2cab
3 changed files with 7 additions and 0 deletions

View File

@ -835,6 +835,7 @@ vips_colour_operation_init( void )
extern GType vips_icc_export_get_type( void ); extern GType vips_icc_export_get_type( void );
extern GType vips_icc_transform_get_type( void ); extern GType vips_icc_transform_get_type( void );
#endif #endif
extern GType vips_dE76_get_type( void );
vips_colour_convert_get_type(); vips_colour_convert_get_type();
vips_Lab2XYZ_get_type(); vips_Lab2XYZ_get_type();
@ -861,4 +862,5 @@ vips_colour_operation_init( void )
vips_icc_export_get_type(); vips_icc_export_get_type();
vips_icc_transform_get_type(); vips_icc_transform_get_type();
#endif #endif
vips_dE76_get_type();
} }

View File

@ -90,6 +90,9 @@ vips_dE76_class_init( VipsdE76Class *class )
static void static void
vips_dE76_init( VipsdE76 *dE76 ) vips_dE76_init( VipsdE76 *dE76 )
{ {
VipsColourDifference *difference = VIPS_COLOUR_DIFFERENCE( dE76 );
difference->interpretation = VIPS_INTERPRETATION_LAB;
} }
/** /**

View File

@ -130,6 +130,8 @@ vips_operation_usage( VipsOperationClass *class, VipsBuf *buf )
buf, &usage ); buf, &usage );
vips_buf_appends( buf, "\n" ); vips_buf_appends( buf, "\n" );
vips_buf_appendf( buf, "%s\n", object_class->description );
/* Show required types. /* Show required types.
*/ */
usage.message = "where:"; usage.message = "where:";