From 146bda077e00e3feffc3748af681f10494fc9c5c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Jul 2012 22:21:26 +0100 Subject: HTML{{,Button,Select,Form}Element,Document,Element,{,Options}Collection}: Make buttons work and forms contain their correct buttons --- src/html/html_options_collection.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/html/html_options_collection.c') diff --git a/src/html/html_options_collection.c b/src/html/html_options_collection.c index 918d693..26926bf 100644 --- a/src/html/html_options_collection.c +++ b/src/html/html_options_collection.c @@ -33,13 +33,15 @@ dom_exception _dom_html_options_collection_create(struct dom_html_document *doc, struct dom_node_internal *root, dom_callback_is_in_collection ic, + void *ctx, struct dom_html_options_collection **col) { *col = malloc(sizeof(dom_html_options_collection)); if (*col == NULL) return DOM_NO_MEM_ERR; - return _dom_html_options_collection_initialise(doc, *col, root, ic); + return _dom_html_options_collection_initialise(doc, *col, root, + ic, ctx); } /** @@ -55,9 +57,9 @@ dom_exception _dom_html_options_collection_create(struct dom_html_document *doc, dom_exception _dom_html_options_collection_initialise(struct dom_html_document *doc, struct dom_html_options_collection *col, struct dom_node_internal *root, - dom_callback_is_in_collection ic) + dom_callback_is_in_collection ic, void *ctx) { - return _dom_html_collection_initialise(doc, &col->base, root, ic); + return _dom_html_collection_initialise(doc, &col->base, root, ic, ctx); } /** -- cgit v1.2.3