Commit a9e18758 authored by Martin Nordholts's avatar Martin Nordholts

Prefix the GIMP GEGL operations with "gimp:" instead of "gimp-" so we

* app/gegl/gimpoperation*.c: Prefix the GIMP GEGL operations with
"gimp:" instead of "gimp-" so we follow the GEGL prefix style and
better serialize to XML.

* app/tools/gimp*tool.c

* app/core/gimpdrawable-*.c
* app/core/gimpdrawable.c
* app/core/gimpimagemap.c
* app/core/gimpprojection.c: Changed accordingly.

svn path=/trunk/; revision=27512
parent 657946b2
2008-11-01 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperation*.c: Prefix the GIMP GEGL operations with
"gimp:" instead of "gimp-" so we follow the GEGL prefix style and
better serialize to XML.
* app/tools/gimp*tool.c
* app/core/gimpdrawable-*.c
* app/core/gimpdrawable.c
* app/core/gimpimagemap.c
* app/core/gimpprojection.c: Changed accordingly.
2008-11-01 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperationpointlayermode.c: Introduced helper macros
......
......@@ -71,7 +71,7 @@ gimp_drawable_color_balance (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-color-balance",
"operation", "gimp:color-balance",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -64,7 +64,7 @@ gimp_drawable_colorize (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-colorize",
"operation", "gimp:colorize",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -156,7 +156,7 @@ gimp_drawable_curves (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-curves",
"operation", "gimp:curves",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -55,7 +55,7 @@ gimp_drawable_desaturate (GimpDrawable *drawable,
GObject *config;
desaturate = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-desaturate",
"operation", "gimp:desaturate",
NULL);
config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG,
......
......@@ -69,7 +69,7 @@ gimp_drawable_hue_saturation (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-hue-saturation",
"operation", "gimp:hue-saturation",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -144,7 +144,7 @@ gimp_drawable_levels_internal (GimpDrawable *drawable,
GeglNode *levels;
levels = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-levels",
"operation", "gimp:levels",
NULL);
gegl_node_set (levels,
......
......@@ -74,12 +74,12 @@ gimp_drawable_apply_operation (GimpDrawable *drawable,
NULL);
input = gegl_node_new_child (gegl,
"operation", "gimp-tilemanager-source",
"operation", "gimp:tilemanager-source",
"tile-manager", gimp_drawable_get_tiles (drawable),
"linear", linear,
NULL);
output = gegl_node_new_child (gegl,
"operation", "gimp-tilemanager-sink",
"operation", "gimp:tilemanager-sink",
"tile-manager", gimp_drawable_get_shadow_tiles (drawable),
"linear", linear,
NULL);
......
......@@ -61,7 +61,7 @@ gimp_drawable_posterize (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-posterize",
"operation", "gimp:posterize",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -62,7 +62,7 @@ gimp_drawable_threshold (GimpDrawable *drawable,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-threshold",
"operation", "gimp:threshold",
NULL);
gegl_node_set (node,
"config", config,
......
......@@ -1130,7 +1130,7 @@ gimp_drawable_get_source_node (GimpDrawable *drawable)
return drawable->source_node;
drawable->source_node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-tilemanager-source",
"operation", "gimp:tilemanager-source",
NULL);
gegl_node_set (drawable->source_node,
"tile-manager", drawable->tiles,
......
......@@ -463,7 +463,7 @@ gimp_image_map_apply (GimpImageMap *image_map,
image_map->input =
gegl_node_new_child (image_map->gegl,
"operation", "gimp-tilemanager-source",
"operation", "gimp:tilemanager-source",
NULL);
image_map->shift =
......@@ -475,7 +475,7 @@ gimp_image_map_apply (GimpImageMap *image_map,
image_map->output =
gegl_node_new_child (image_map->gegl,
"operation", "gimp-tilemanager-sink",
"operation", "gimp:tilemanager-sink",
NULL);
{
......
......@@ -352,7 +352,7 @@ gimp_projection_get_sink_node (GimpProjection *proj)
proj->sink_node =
gegl_node_new_child (proj->graph,
"operation", "gimp-tilemanager-sink",
"operation", "gimp:tilemanager-sink",
"tile-manager", gimp_projection_get_tiles (proj),
"linear", TRUE,
NULL);
......
......@@ -55,7 +55,7 @@ gimp_operation_color_balance_class_init (GimpOperationColorBalanceClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-color-balance";
operation_class->name = "gimp:color-balance";
operation_class->categories = "color";
operation_class->description = "GIMP Color Balance operation";
......
......@@ -54,7 +54,7 @@ gimp_operation_colorize_class_init (GimpOperationColorizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-colorize";
operation_class->name = "gimp:colorize";
operation_class->categories = "color";
operation_class->description = "GIMP Colorize operation";
......
......@@ -58,7 +58,7 @@ gimp_operation_curves_class_init (GimpOperationCurvesClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-curves";
operation_class->name = "gimp:curves";
operation_class->categories = "color";
operation_class->description = "GIMP Curves operation";
......
......@@ -54,7 +54,7 @@ gimp_operation_desaturate_class_init (GimpOperationDesaturateClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-desaturate";
operation_class->name = "gimp:desaturate";
operation_class->categories = "color";
operation_class->description = "GIMP Desaturate operation";
......
......@@ -55,7 +55,7 @@ gimp_operation_hue_saturation_class_init (GimpOperationHueSaturationClass *klass
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-hue-saturation";
operation_class->name = "gimp:hue-saturation";
operation_class->categories = "color";
operation_class->description = "GIMP Hue-Saturation operation";
......
......@@ -55,7 +55,7 @@ gimp_operation_levels_class_init (GimpOperationLevelsClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-levels";
operation_class->name = "gimp:levels";
operation_class->categories = "color";
operation_class->description = "GIMP Levels operation";
......
......@@ -55,7 +55,7 @@ gimp_operation_posterize_class_init (GimpOperationPosterizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-posterize";
operation_class->name = "gimp:posterize";
operation_class->categories = "color";
operation_class->description = "GIMP Posterize operation";
......
......@@ -54,7 +54,7 @@ gimp_operation_threshold_class_init (GimpOperationThresholdClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
operation_class->name = "gimp-threshold";
operation_class->name = "gimp:threshold";
operation_class->categories = "color";
operation_class->description = "GIMP Threshold operation";
......
......@@ -94,7 +94,7 @@ gimp_operation_tile_sink_class_init (GimpOperationTileSinkClass *klass)
object_class->set_property = gimp_operation_tile_sink_set_property;
object_class->get_property = gimp_operation_tile_sink_get_property;
operation_class->name = "gimp-tilemanager-sink";
operation_class->name = "gimp:tilemanager-sink";
operation_class->categories = "output";
operation_class->description = "GIMP TileManager sink";
......
......@@ -78,7 +78,7 @@ gimp_operation_tile_source_class_init (GimpOperationTileSourceClass *klass)
object_class->set_property = gimp_operation_tile_source_set_property;
object_class->get_property = gimp_operation_tile_source_get_property;
operation_class->name = "gimp-tilemanager-source";
operation_class->name = "gimp:tilemanager-source";
operation_class->categories = "input";
operation_class->description = "GIMP TileManager source";
operation_class->prepare = gimp_operation_tile_source_prepare;
......
......@@ -179,7 +179,7 @@ gimp_color_balance_tool_get_operation (GimpImageMapTool *im_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-color-balance",
"operation", "gimp:color-balance",
NULL);
cb_tool->config = g_object_new (GIMP_TYPE_COLOR_BALANCE_CONFIG, NULL);
......
......@@ -174,7 +174,7 @@ gimp_colorize_tool_get_operation (GimpImageMapTool *im_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-colorize",
"operation", "gimp:colorize",
NULL);
col_tool->config = g_object_new (GIMP_TYPE_COLORIZE_CONFIG, NULL);
......
......@@ -368,7 +368,7 @@ gimp_curves_tool_get_operation (GimpImageMapTool *image_map_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-curves",
"operation", "gimp:curves",
NULL);
tool->config = g_object_new (GIMP_TYPE_CURVES_CONFIG, NULL);
......
......@@ -146,7 +146,7 @@ gimp_desaturate_tool_get_operation (GimpImageMapTool *image_map_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-desaturate",
"operation", "gimp:desaturate",
NULL);
desaturate_tool->config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG, NULL);
......
......@@ -187,7 +187,7 @@ gimp_hue_saturation_tool_get_operation (GimpImageMapTool *im_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-hue-saturation",
"operation", "gimp:hue-saturation",
NULL);
hs_tool->config = g_object_new (GIMP_TYPE_HUE_SATURATION_CONFIG, NULL);
......
......@@ -255,7 +255,7 @@ gimp_levels_tool_get_operation (GimpImageMapTool *im_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-levels",
"operation", "gimp:levels",
NULL);
tool->config = g_object_new (GIMP_TYPE_LEVELS_CONFIG, NULL);
......
......@@ -172,7 +172,7 @@ gimp_posterize_tool_get_operation (GimpImageMapTool *image_map_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-posterize",
"operation", "gimp:posterize",
NULL);
posterize_tool->config = g_object_new (GIMP_TYPE_POSTERIZE_CONFIG, NULL);
......
......@@ -183,7 +183,7 @@ gimp_threshold_tool_get_operation (GimpImageMapTool *image_map_tool,
GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-threshold",
"operation", "gimp:threshold",
NULL);
t_tool->config = g_object_new (GIMP_TYPE_THRESHOLD_CONFIG, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment