[gegl/xml] xml2: don't serialize output proxy
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/xml] xml2: don't serialize output proxy
- Date: Sat, 28 Jul 2012 03:41:03 +0000 (UTC)
commit 9b4c8fd7470079eda99c330679af11029d4131da
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 files changed, 2 insertions(+), 0 deletions(-)
---
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]