Skip to content
Snippets Groups Projects
Commit 4f1c0861 authored by Richard Schwarting's avatar Richard Schwarting
Browse files

BackedNode.vala: remove HashTable attributes definition (use GXml.Node's...

BackedNode.vala: remove HashTable attributes definition (use GXml.Node's default implementation anyway); don't need to sync elements now
parent a3ef7104
Branches
Tags
No related merge requests found
......@@ -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 ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment