summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-07-15 12:56:37 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2007-07-15 12:56:37 +0000
commit540be2894af6804a36a7ebdf8b8d4236eb074f00 (patch)
tree667d8fa8ed90b618787ec9356679035582f8e789
parent9e6a46cb31c99b9ed326cf99942e42edb6be911b (diff)
downloadlibdom-540be2894af6804a36a7ebdf8b8d4236eb074f00.tar.gz
libdom-540be2894af6804a36a7ebdf8b8d4236eb074f00.tar.bz2
Rename to dom_node_get_owner_document() in line with spec
svn path=/trunk/dom/; revision=3414
-rw-r--r--include/dom/core/node.h2
-rw-r--r--src/core/node.c2
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 */