[gxml] Document.vala: specify DomNode, since we haven't change Node>DomNode yet in master (just in gsoc2013
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Document.vala: specify DomNode, since we haven't change Node>DomNode yet in master (just in gsoc2013
- Date: Thu, 22 Aug 2013 17:17:23 +0000 (UTC)
commit 3d5f6f4f9916325e637c8be9d8e9f46e298bb95d
Author: Richard Schwarting <aquarichy gmail com>
Date: Thu Aug 22 12:29:21 2013 -0400
Document.vala: specify DomNode, since we haven't change Node>DomNode yet in master (just in gsoc2013
branch)
gxml/Document.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Document.vala b/gxml/Document.vala
index c6809bb..0c40f80 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -610,7 +610,7 @@ namespace GXml {
return null;
}
- internal Node copy_node (Node foreign_node, bool deep = true) {
+ internal DomNode copy_node (DomNode foreign_node, bool deep = true) {
foreign_node.owner_document.sync_dirty_elements ();
Xml.Node *our_copy_xml = ((BackedNode)foreign_node).node->doc_copy (this.xmldoc, deep
? 1 : 0);
// TODO: do we need to append this to this.new_nodes? Do we need to append the
result to this.nodes_to_free? Test memory implications
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]