Commit a9e18758 authored by Martin Nordholts's avatar Martin Nordholts
Browse files

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> 2008-11-01 Martin Nordholts <martinn@svn.gnome.org>
* app/gegl/gimpoperationpointlayermode.c: Introduced helper macros * app/gegl/gimpoperationpointlayermode.c: Introduced helper macros
......
...@@ -71,7 +71,7 @@ gimp_drawable_color_balance (GimpDrawable *drawable, ...@@ -71,7 +71,7 @@ gimp_drawable_color_balance (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-color-balance", "operation", "gimp:color-balance",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -64,7 +64,7 @@ gimp_drawable_colorize (GimpDrawable *drawable, ...@@ -64,7 +64,7 @@ gimp_drawable_colorize (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-colorize", "operation", "gimp:colorize",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -156,7 +156,7 @@ gimp_drawable_curves (GimpDrawable *drawable, ...@@ -156,7 +156,7 @@ gimp_drawable_curves (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-curves", "operation", "gimp:curves",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -55,7 +55,7 @@ gimp_drawable_desaturate (GimpDrawable *drawable, ...@@ -55,7 +55,7 @@ gimp_drawable_desaturate (GimpDrawable *drawable,
GObject *config; GObject *config;
desaturate = g_object_new (GEGL_TYPE_NODE, desaturate = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-desaturate", "operation", "gimp:desaturate",
NULL); NULL);
config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG, config = g_object_new (GIMP_TYPE_DESATURATE_CONFIG,
......
...@@ -69,7 +69,7 @@ gimp_drawable_hue_saturation (GimpDrawable *drawable, ...@@ -69,7 +69,7 @@ gimp_drawable_hue_saturation (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-hue-saturation", "operation", "gimp:hue-saturation",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -144,7 +144,7 @@ gimp_drawable_levels_internal (GimpDrawable *drawable, ...@@ -144,7 +144,7 @@ gimp_drawable_levels_internal (GimpDrawable *drawable,
GeglNode *levels; GeglNode *levels;
levels = g_object_new (GEGL_TYPE_NODE, levels = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-levels", "operation", "gimp:levels",
NULL); NULL);
gegl_node_set (levels, gegl_node_set (levels,
......
...@@ -74,12 +74,12 @@ gimp_drawable_apply_operation (GimpDrawable *drawable, ...@@ -74,12 +74,12 @@ gimp_drawable_apply_operation (GimpDrawable *drawable,
NULL); NULL);
input = gegl_node_new_child (gegl, input = gegl_node_new_child (gegl,
"operation", "gimp-tilemanager-source", "operation", "gimp:tilemanager-source",
"tile-manager", gimp_drawable_get_tiles (drawable), "tile-manager", gimp_drawable_get_tiles (drawable),
"linear", linear, "linear", linear,
NULL); NULL);
output = gegl_node_new_child (gegl, output = gegl_node_new_child (gegl,
"operation", "gimp-tilemanager-sink", "operation", "gimp:tilemanager-sink",
"tile-manager", gimp_drawable_get_shadow_tiles (drawable), "tile-manager", gimp_drawable_get_shadow_tiles (drawable),
"linear", linear, "linear", linear,
NULL); NULL);
......
...@@ -61,7 +61,7 @@ gimp_drawable_posterize (GimpDrawable *drawable, ...@@ -61,7 +61,7 @@ gimp_drawable_posterize (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-posterize", "operation", "gimp:posterize",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -62,7 +62,7 @@ gimp_drawable_threshold (GimpDrawable *drawable, ...@@ -62,7 +62,7 @@ gimp_drawable_threshold (GimpDrawable *drawable,
GeglNode *node; GeglNode *node;
node = g_object_new (GEGL_TYPE_NODE, node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-threshold", "operation", "gimp:threshold",
NULL); NULL);
gegl_node_set (node, gegl_node_set (node,
"config", config, "config", config,
......
...@@ -1130,7 +1130,7 @@ gimp_drawable_get_source_node (GimpDrawable *drawable) ...@@ -1130,7 +1130,7 @@ gimp_drawable_get_source_node (GimpDrawable *drawable)
return drawable->source_node; return drawable->source_node;
drawable->source_node = g_object_new (GEGL_TYPE_NODE, drawable->source_node = g_object_new (GEGL_TYPE_NODE,
"operation", "gimp-tilemanager-source", "operation", "gimp:tilemanager-source",
NULL); NULL);
gegl_node_set (drawable->source_node, gegl_node_set (drawable->source_node,
"tile-manager", drawable->tiles, "tile-manager", drawable->tiles,
......
...@@ -463,7 +463,7 @@ gimp_image_map_apply (GimpImageMap *image_map, ...@@ -463,7 +463,7 @@ gimp_image_map_apply (GimpImageMap *image_map,
image_map->input = image_map->input =
gegl_node_new_child (image_map->gegl, gegl_node_new_child (image_map->gegl,
"operation", "gimp-tilemanager-source", "operation", "gimp:tilemanager-source",
NULL); NULL);
image_map->shift = image_map->shift =
...@@ -475,7 +475,7 @@ gimp_image_map_apply (GimpImageMap *image_map, ...@@ -475,7 +475,7 @@ gimp_image_map_apply (GimpImageMap *image_map,
image_map->output = image_map->output =
gegl_node_new_child (image_map->gegl, gegl_node_new_child (image_map->gegl,
"operation", "gimp-tilemanager-sink", "operation", "gimp:tilemanager-sink",
NULL); NULL);
{ {
......
...@@ -352,7 +352,7 @@ gimp_projection_get_sink_node (GimpProjection *proj) ...@@ -352,7 +352,7 @@ gimp_projection_get_sink_node (GimpProjection *proj)
proj->sink_node = proj->sink_node =
gegl_node_new_child (proj->graph, gegl_node_new_child (proj->graph,
"operation", "gimp-tilemanager-sink", "operation", "gimp:tilemanager-sink",
"tile-manager", gimp_projection_get_tiles (proj), "tile-manager", gimp_projection_get_tiles (proj),
"linear", TRUE, "linear", TRUE,
NULL); NULL);
......
...@@ -55,7 +55,7 @@ gimp_operation_color_balance_class_init (GimpOperationColorBalanceClass *klass) ...@@ -55,7 +55,7 @@ gimp_operation_color_balance_class_init (GimpOperationColorBalanceClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Color Balance operation"; operation_class->description = "GIMP Color Balance operation";
......
...@@ -54,7 +54,7 @@ gimp_operation_colorize_class_init (GimpOperationColorizeClass *klass) ...@@ -54,7 +54,7 @@ gimp_operation_colorize_class_init (GimpOperationColorizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Colorize operation"; operation_class->description = "GIMP Colorize operation";
......
...@@ -58,7 +58,7 @@ gimp_operation_curves_class_init (GimpOperationCurvesClass *klass) ...@@ -58,7 +58,7 @@ gimp_operation_curves_class_init (GimpOperationCurvesClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Curves operation"; operation_class->description = "GIMP Curves operation";
......
...@@ -54,7 +54,7 @@ gimp_operation_desaturate_class_init (GimpOperationDesaturateClass *klass) ...@@ -54,7 +54,7 @@ gimp_operation_desaturate_class_init (GimpOperationDesaturateClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Desaturate operation"; operation_class->description = "GIMP Desaturate operation";
......
...@@ -55,7 +55,7 @@ gimp_operation_hue_saturation_class_init (GimpOperationHueSaturationClass *klass ...@@ -55,7 +55,7 @@ gimp_operation_hue_saturation_class_init (GimpOperationHueSaturationClass *klass
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Hue-Saturation operation"; operation_class->description = "GIMP Hue-Saturation operation";
......
...@@ -55,7 +55,7 @@ gimp_operation_levels_class_init (GimpOperationLevelsClass *klass) ...@@ -55,7 +55,7 @@ gimp_operation_levels_class_init (GimpOperationLevelsClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Levels operation"; operation_class->description = "GIMP Levels operation";
......
...@@ -55,7 +55,7 @@ gimp_operation_posterize_class_init (GimpOperationPosterizeClass *klass) ...@@ -55,7 +55,7 @@ gimp_operation_posterize_class_init (GimpOperationPosterizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property; object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_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->categories = "color";
operation_class->description = "GIMP Posterize operation"; operation_class->description = "GIMP Posterize operation";
......
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