[gxml] Serialization.vala: remove temporary _docs fix
- From: Richard Hans Schwarting <rschwart src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gxml] Serialization.vala: remove temporary _docs fix
 
- Date: Fri, 23 Aug 2013 20:59:06 +0000 (UTC)
 
commit 2d2779f4fbe7a7fc989f231a59ec0bd14ee872ed
Author: Richard Schwarting <aquarichy gmail com>
Date:   Fri Aug 23 09:26:37 2013 -0400
    Serialization.vala: remove temporary _docs fix
 gxml/Serialization.vala |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gxml/Serialization.vala b/gxml/Serialization.vala
index 651b648..8f7f5c0 100644
--- a/gxml/Serialization.vala
+++ b/gxml/Serialization.vala
@@ -180,8 +180,6 @@ namespace GXml {
                        return value_node;
                }
 
-               private static List<Document> _docs;
-
                /**
                 * Serializes a { link GLib.Object} into a { link GXml.Node}.
                 *
@@ -223,7 +221,6 @@ namespace GXml {
                                if (oid != "" && Serialization.serialize_cache.contains (oid)) {
                                        // GLib.message ("cache hit on oid %s", oid);
                                        doc = new Document ();
-                                       Serialization._docs.append (doc);
                                        root = doc.create_element ("ObjectRef");
                                        doc.append_child (root);
                                        root.set_attribute ("otype", object.get_type ().name ());
@@ -241,7 +238,6 @@ namespace GXml {
                                   a separate document for it to already be a
                                   part of as its owner_document. */
                                doc = new Document ();
-                               Serialization._docs.append (doc);
 
                                root = doc.create_element ("Object");
                                doc.append_child (root);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]