From 94a4146591ccfac144700e24035af9f38c0110e4 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 2 Nov 2015 22:08:27 +0100 Subject: [PATCH] Migrated ZakFormElementFilter from interface to abstract class. --- tests/form.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/form.c b/tests/form.c index 50fd07d..2cfad21 100644 --- a/tests/form.c +++ b/tests/form.c @@ -65,9 +65,9 @@ main (int argc, char *argv[]) element = zak_cgi_form_element_text_new ("first", NULL); zak_cgi_form_element_set_label (element, "The Label for first", NULL); zak_form_element_add_filter (ZAK_FORM_ELEMENT (element), - ZAK_FORM_ELEMENT_IFILTER (zak_form_element_filter_trim_new ())); + ZAK_FORM_ELEMENT_FILTER (zak_form_element_filter_trim_new ())); zak_form_element_add_validator (ZAK_FORM_ELEMENT (element), - ZAK_FORM_ELEMENT_VALIDATOR (zak_form_element_validator_regex_new ("^aaa$"))); + ZAK_FORM_ELEMENT_VALIDATOR (zak_form_element_validator_regex_new ("^aaa$"))); zak_form_form_add_element (ZAK_FORM_FORM (form), ZAK_FORM_ELEMENT (element)); element = zak_cgi_form_element_check_new ("chk", NULL); -- 2.49.0