From 477e602cc22cc1e51e7f6a7f0c59833c1c7b072c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 22 Jul 2007 21:41:45 +0000 Subject: Fix binding.c API usage. Modify testcase Makefile to build things other than the XML-based testsuite svn path=/trunk/dom/; revision=3460 --- test/binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/binding.c') 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); -- cgit v1.2.3