summaryrefslogtreecommitdiff
path: root/src/html/html_options_collection.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 22:21:26 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 22:21:26 +0100
commit146bda077e00e3feffc3748af681f10494fc9c5c (patch)
tree43d10c947692a85d7b40973ae77bd0f0c968cff4 /src/html/html_options_collection.c
parent50d83f430d109472dee45910851275fe189b0fdb (diff)
downloadlibdom-146bda077e00e3feffc3748af681f10494fc9c5c.tar.gz
libdom-146bda077e00e3feffc3748af681f10494fc9c5c.tar.bz2
HTML{{,Button,Select,Form}Element,Document,Element,{,Options}Collection}: Make buttons work and forms contain their correct buttons
Diffstat (limited to 'src/html/html_options_collection.c')
-rw-r--r--src/html/html_options_collection.c8
1 files changed, 5 insertions, 3 deletions
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);
}
/**