gegl r2630 - in trunk: . gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2630 - in trunk: . gegl
- Date: Wed, 15 Oct 2008 17:28:10 +0000 (UTC)
Author: ok
Date: Wed Oct 15 17:28:10 2008
New Revision: 2630
URL: http://svn.gnome.org/viewvc/gegl?rev=2630&view=rev
Log:
* gegl/gegl-xml.c: (start_element), (add_stack): special case clone
elements and make them generate gegl:clone ops.
Modified:
trunk/ChangeLog
trunk/gegl/gegl-xml.c
Modified: trunk/gegl/gegl-xml.c
==============================================================================
--- trunk/gegl/gegl-xml.c (original)
+++ trunk/gegl/gegl-xml.c Wed Oct 15 17:28:10 2008
@@ -291,7 +291,13 @@
{
GeglNode *new;
- if (!strcmp (element_name, "node"))
+ if (!strcmp (element_name, "clone"))
+ {
+ new = gegl_node_new_child (pd->gegl,
+ "operation", "gegl:clone",
+ NULL);
+ }
+ else if (!strcmp (element_name, "node"))
{
new = gegl_node_new_child (pd->gegl,
"operation", name2val (a, v, "operation"),
@@ -1250,8 +1256,8 @@
{
if (class)
{
- if (strcmp (class, "nop") &&
- strcmp (class, "clone"))
+ if (strcmp (class, "gegl:nop") &&
+ strcmp (class, "gegl:clone"))
{
ind; g_string_append (ss->buf, "<node");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]