rename arith args

args should be nmaed without hypens, since they may become variable names
This commit is contained in:
John Cupitt 2011-05-12 10:36:28 +01:00
parent 2a66c50410
commit 81b68ec979
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ vips_arithmetic_class_init( VipsArithmeticClass *class )
vobject_class->build = vips_arithmetic_build;
pspec = g_param_spec_object( "output-image",
pspec = g_param_spec_object( "out",
"Output", "Output image",
VIPS_TYPE_IMAGE,
G_PARAM_READWRITE );

View File

@ -324,7 +324,7 @@ vips_binary_class_init( VipsBinaryClass *class )
/* Create properties.
*/
pspec = g_param_spec_object( "right-image",
pspec = g_param_spec_object( "right",
"Right", "Right-hand image argument",
VIPS_TYPE_IMAGE,
G_PARAM_READWRITE );
@ -334,7 +334,7 @@ vips_binary_class_init( VipsBinaryClass *class )
VIPS_ARGUMENT_REQUIRED_INPUT,
G_STRUCT_OFFSET( VipsBinary, right ) );
pspec = g_param_spec_object( "left-image",
pspec = g_param_spec_object( "left",
"Left", "Left-hand image argument",
VIPS_TYPE_IMAGE,
G_PARAM_READWRITE );