From 4f1c0861d0535905d591b24457a39858e41ffdd9 Mon Sep 17 00:00:00 2001 From: Richard Schwarting Date: Tue, 22 Oct 2013 02:48:06 -0400 Subject: [PATCH] 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 file changed, 11 deletions(-) diff --git a/gxml/BackedNode.vala b/gxml/BackedNode.vala index 6ce4fb0d..4d5cfd6c 100644 --- a/gxml/BackedNode.vala +++ b/gxml/BackedNode.vala @@ -231,16 +231,6 @@ namespace GXml { internal set { } } - /** - * {@inheritDoc} - */ - public override HashTable? 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 (); -- GitLab