app: canonicalize cage op names, and some indentation fixes

This commit is contained in:
Michael Natterer 2010-11-05 12:45:07 +01:00
parent eb3db78b06
commit e0dad1bf35
3 changed files with 17 additions and 18 deletions

View File

@ -59,7 +59,7 @@ gimp_operation_cage_coef_calc_class_init (GimpOperationCageCoefCalcClass *klass)
GeglOperationSourceClass *source_class = GEGL_OPERATION_SOURCE_CLASS (klass);
GeglOperationClass *operation_class = GEGL_OPERATION_CLASS (klass);
operation_class->name = "gimp:cage_coef_calc";
operation_class->name = "gimp:cage-coef-calc";
operation_class->categories = "transform";
operation_class->description = "GIMP cage transform coefficient calc";
@ -85,7 +85,6 @@ gimp_operation_cage_coef_calc_class_init (GimpOperationCageCoefCalcClass *klass)
static void
gimp_operation_cage_coef_calc_init (GimpOperationCageCoefCalc *self)
{
}
static void

View File

@ -87,8 +87,7 @@ gimp_operation_cage_transform_class_init (GimpOperationCageTransformClass *klass
object_class->set_property = gimp_operation_cage_transform_set_property;
object_class->finalize = gimp_operation_cage_transform_finalize;
/* FIXME: wrong categories and name, to appears in the gegl tool */
operation_class->name = "gimp:cage_transform";
operation_class->name = "gimp:cage-transform";
operation_class->categories = "transform";
operation_class->description = "GIMP cage reverse transform";
@ -108,7 +107,8 @@ gimp_operation_cage_transform_class_init (GimpOperationCageTransformClass *klass
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, GIMP_OPERATION_CAGE_TRANSFORM_PROP_FILL,
g_object_class_install_property (object_class,
GIMP_OPERATION_CAGE_TRANSFORM_PROP_FILL,
g_param_spec_boolean ("fill_plain_color",
"Blocking render",
"Fill the original position of the cage with a plain color",

View File

@ -664,7 +664,7 @@ gimp_cage_tool_compute_coef (GimpCageTool *ct,
gegl = gegl_node_new ();
input = gegl_node_new_child (gegl,
"operation", "gimp:cage_coef_calc",
"operation", "gimp:cage-coef-calc",
"config", ct->config,
NULL);
@ -712,7 +712,7 @@ gimp_cage_tool_get_render_node (GimpCageTool *ct,
NULL);
cage = gegl_node_new_child (parent,
"operation", "gimp:cage_transform",
"operation", "gimp:cage-transform",
"config", ct->config,
"fill_plain_color", options->fill_plain_color,
NULL);