summaryrefslogtreecommitdiff
path: root/test/binding.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-22 21:41:45 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-22 21:41:45 +0000
commit477e602cc22cc1e51e7f6a7f0c59833c1c7b072c (patch)
tree8ad798085d288dc2864e847fd13efe2b580b7e20 /test/binding.c
parenta176515001037f87312dcca7666549ed565632a2 (diff)
downloadlibdom-477e602cc22cc1e51e7f6a7f0c59833c1c7b072c.tar.gz
libdom-477e602cc22cc1e51e7f6a7f0c59833c1c7b072c.tar.bz2
Fix binding.c API usage.
Modify testcase Makefile to build things other than the XML-based testsuite svn path=/trunk/dom/; revision=3460
Diffstat (limited to 'test/binding.c')
-rw-r--r--test/binding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binding.c b/test/binding.c
index 803ecaa..8c621ab 100644
--- a/test/binding.c
+++ b/test/binding.c
@@ -15,7 +15,7 @@ int main(int argc, char **argv)
doc = test_object_get_doc(staff);
assert(doc != NULL);
- err = dom_document_get_element(doc, &element);
+ err = dom_document_get_document_element(doc, &element);
assert(err == DOM_NO_ERR);
assert(element != NULL);