[gxml] Document.vala: correct the type for copy_node
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Document.vala: correct the type for copy_node
- Date: Fri, 23 Aug 2013 21:01:32 +0000 (UTC)
commit a433d54169bcf7be75a56e289ec15b1ecfa46ca9
Author: Richard Schwarting <aquarichy gmail com>
Date: Fri Aug 23 09:58:14 2013 -0400
Document.vala: correct the type for copy_node
gxml/Document.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Document.vala b/gxml/Document.vala
index 88790a0..55e1e47 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -740,7 +740,7 @@ namespace GXml {
return null;
}
- internal DomNode copy_node (DomNode foreign_node, bool deep = true) {
+ internal Node copy_node (Node 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]