[gxml/newattr: 8/13] BackedNode.vala: remove HashTable attributes definition (use GXml.Node's default implementation anyw



commit 4f1c0861d0535905d591b24457a39858e41ffdd9
Author: Richard Schwarting <aquarichy gmail com>
Date:   Tue Oct 22 02:48:06 2013 -0400

    BackedNode.vala: remove HashTable attributes definition (use GXml.Node's default implementation anyway); 
don't need to sync elements now

 gxml/BackedNode.vala |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gxml/BackedNode.vala b/gxml/BackedNode.vala
index 6ce4fb0..4d5cfd6 100644
--- a/gxml/BackedNode.vala
+++ b/gxml/BackedNode.vala
@@ -231,16 +231,6 @@ namespace GXml {
                        internal set {
                        }
                }
-               /**
-                * { inheritDoc}
-                */
-               public override HashTable<string,Attr>? attributes {
-                       get {
-                               return null;
-                       }
-                       internal set {
-                       }
-               }
 
                // TODO: investigate which classes can have children;
                //       e.g. Text shouldn't, and these should error if we try;
@@ -317,7 +307,6 @@ namespace GXml {
                        Xml.Buffer *buffer;
                        string str;
 
-                       this.owner_document.sync_dirty_elements ();
                        buffer = new Xml.Buffer ();
                        buffer->node_dump (this.owner_document.xmldoc, this.node, level, format ? 1 : 0);
                        str = buffer->content ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]