From 540be2894af6804a36a7ebdf8b8d4236eb074f00 Mon Sep 17 00:00:00 2001 From: James Shaw Date: Sun, 15 Jul 2007 12:56:37 +0000 Subject: Rename to dom_node_get_owner_document() in line with spec svn path=/trunk/dom/; revision=3414 --- include/dom/core/node.h | 2 +- src/core/node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dom/core/node.h b/include/dom/core/node.h index d818515..71baa79 100644 --- a/include/dom/core/node.h +++ b/include/dom/core/node.h @@ -93,7 +93,7 @@ dom_exception dom_node_get_next(struct dom_node *node, struct dom_node **result); dom_exception dom_node_get_attributes(struct dom_node *node, struct dom_named_node_map **result); -dom_exception dom_node_get_owner(struct dom_node *node, +dom_exception dom_node_get_owner_document(struct dom_node *node, struct dom_document **result); dom_exception dom_node_insert_before(struct dom_node *node, struct dom_node *new_child, struct dom_node *ref_child, diff --git a/src/core/node.c b/src/core/node.c index fc6f3fd..afca3b4 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -334,7 +334,7 @@ dom_exception dom_node_get_attributes(struct dom_node *node, * the responsibility of the caller to unref the node once it has * finished with it. */ -dom_exception dom_node_get_owner(struct dom_node *node, +dom_exception dom_node_get_owner_document(struct dom_node *node, struct dom_document **result) { /* If there is an owner, increase its reference count */ -- cgit v1.2.3