Commit a65c95a9 authored by Øyvind Kolås's avatar Øyvind Kolås

cleanup following application of s/class/operation/ patch

parent 2bff8341
2006-09-01 Øyvind Kolås <pippin@gimp.org>
* operations/file-io/load.c: (refresh_cache): s/class/operation/
* operations/meta/layer.c: (prepare): s/class/operation/
* tools/introspect.c: (stuff): s/class/opertation/
2006-09-01 Øyvind Kolås <pippin@gimp.org>
Applied patch from Victor Bogado that changes the name of the "class"
......
......@@ -232,7 +232,7 @@ refresh_cache (GeglOperationLoad *self)
if (strstr (self->path, map->extension))
{
sprintf (xml,
"<gegl ><tree><node class='%s' path='%s'></node></tree></gegl>",
"<gegl ><tree><node operation='%s' path='%s'></node></tree></gegl>",
map->handler, self->path);
break;
}
......@@ -240,7 +240,7 @@ refresh_cache (GeglOperationLoad *self)
}
if (map->extension==NULL) /* no extension matched, using fallback */
{
sprintf (xml, "<gegl><tree><node class='%s' path='%s'></node></tree></gegl>",
sprintf (xml, "<gegl><tree><node operation='%s' path='%s'></node></tree></gegl>",
map->handler, self->path);
}
......
......@@ -61,7 +61,7 @@ prepare (GeglOperation *operation)
* requests to be made into members of the graph
*/
gegl_node_set (priv->composite_op,
"class", self->composite_op,
"operation", self->composite_op,
NULL);
if (self->src[0])
{
......
......@@ -468,10 +468,10 @@ stuff (gint argc,
GeglGraph *gegl = g_object_new (GEGL_TYPE_GRAPH, NULL);
GeglNode *display = gegl_graph_create_node (gegl,
"class", "crop",
"operation", "crop",
NULL);
GeglNode *png_load = gegl_graph_create_node (gegl,
"class", "blank",
"operation", "blank",
NULL);
/* connect operations */
......
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