diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-22 21:41:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-22 21:41:45 +0000 |
commit | 477e602cc22cc1e51e7f6a7f0c59833c1c7b072c (patch) | |
tree | 8ad798085d288dc2864e847fd13efe2b580b7e20 /test/binding.c | |
parent | a176515001037f87312dcca7666549ed565632a2 (diff) | |
download | libdom-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.c | 2 |
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); |