[gegl/xml: 5/12] xml2: don't serialize output proxy
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/xml: 5/12] xml2: don't serialize output proxy
- Date: Sun, 21 Apr 2013 08:43:16 +0000 (UTC)
commit aa8902661b8d720bf929e2e8f8ae6d32551631c3
Author: Michael Muré <mure michael gmail com>
Date: Sat Jul 28 12:40:27 2012 +0900
xml2: don't serialize output proxy
gegl/gegl-xml-v2.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gegl/gegl-xml-v2.c b/gegl/gegl-xml-v2.c
index 092af11..343a35a 100644
--- a/gegl/gegl-xml-v2.c
+++ b/gegl/gegl-xml-v2.c
@@ -780,7 +780,9 @@ gegl_node_to_xml_v2 (GeglNode *gegl,
ss.nodes = g_hash_table_new (NULL, NULL);
ss.counter = 0;
+ /* Make sure we don't serialize a proxy. */
gegl = gegl_node_get_output_proxy (gegl, "output");
+ gegl = gegl_node_get_producer (gegl, "input", NULL);
g_string_append (ss.buf, "<?xml version='1.0' encoding='UTF-8'?>\n");
g_string_append (ss.buf, "<gegl>\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]