diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-05 11:02:24 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-05 11:02:24 +0000 |
commit | 941e2f52a2b3d4bf0febeff73301c89aab625ae0 (patch) | |
tree | 9f381efb8c8527a964c9603d1f1de6d29c7b68bb /src/html/html_isindex_element.c | |
parent | 640921c2c92bc5aa57d9960f1dbc17bb633a4d89 (diff) | |
download | libdom-941e2f52a2b3d4bf0febeff73301c89aab625ae0.tar.gz libdom-941e2f52a2b3d4bf0febeff73301c89aab625ae0.tar.bz2 |
Remove form association logic -- this is not the way to do it
svn path=/trunk/libdom/; revision=13423
Diffstat (limited to 'src/html/html_isindex_element.c')
-rw-r--r-- | src/html/html_isindex_element.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html/html_isindex_element.c b/src/html/html_isindex_element.c index a1343cb..0c02c22 100644 --- a/src/html/html_isindex_element.c +++ b/src/html/html_isindex_element.c @@ -59,6 +59,8 @@ dom_exception _dom_html_isindex_element_initialise(struct dom_document *doc, dom_string *name = NULL; dom_exception err; + UNUSED(form); + err = dom_string_create((const uint8_t *) "ISINDEX", SLEN("ISINDEX"), &name); if (err != DOM_NO_ERR) @@ -67,9 +69,6 @@ dom_exception _dom_html_isindex_element_initialise(struct dom_document *doc, err = _dom_html_element_initialise(doc, &ele->base, name, NULL, NULL); dom_string_unref(name); - ele->base.form = form; - dom_node_ref(form); - return err; } @@ -139,7 +138,8 @@ dom_exception _dom_html_isindex_element_copy(dom_node_internal *old, dom_exception dom_html_isindex_element_get_form(dom_html_isindex_element *ele, struct dom_html_form_element **form) { - _dom_html_element_get_form(&ele->base, form); + UNUSED(ele); + UNUSED(form); - return DOM_NO_ERR; + return DOM_NOT_SUPPORTED_ERR; } |