summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-07-21 20:30:09 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2007-07-21 20:30:09 +0000
commit71dde22f39683ce8b1dceb402a965246d13fd91f (patch)
tree7024a0bdad0af1cbc5df3961fe8017cbb06901e5
parent5e52163458ff4b56d80c7143d74291b2bfab7cef (diff)
downloadlibdom-71dde22f39683ce8b1dceb402a965246d13fd91f.tar.gz
libdom-71dde22f39683ce8b1dceb402a965246d13fd91f.tar.bz2
rename dom_document_get_element() to dom_document_get_document_element()
svn path=/trunk/dom/; revision=3453
-rw-r--r--include/dom/core/document.h2
-rw-r--r--src/core/document.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/dom/core/document.h b/include/dom/core/document.h
index 96b8dca..2c5c778 100644
--- a/include/dom/core/document.h
+++ b/include/dom/core/document.h
@@ -27,7 +27,7 @@ dom_exception dom_document_get_doctype(struct dom_document *doc,
struct dom_document_type **result);
dom_exception dom_document_get_implementation(struct dom_document *doc,
struct dom_implementation **result);
-dom_exception dom_document_get_element(struct dom_document *doc,
+dom_exception dom_document_get_document_element(struct dom_document *doc,
struct dom_element **result);
dom_exception dom_document_create_element(struct dom_document *doc,
struct dom_string *tag_name, struct dom_element **result);
diff --git a/src/core/document.c b/src/core/document.c
index 7f2aee8..383311e 100644
--- a/src/core/document.c
+++ b/src/core/document.c
@@ -95,7 +95,7 @@ dom_exception dom_document_get_implementation(struct dom_document *doc,
* the responsibility of the caller to unref the node once it has
* finished with it.
*/
-dom_exception dom_document_get_element(struct dom_document *doc,
+dom_exception dom_document_get_document_element(struct dom_document *doc,
struct dom_element **result)
{
UNUSED(doc);