From 48eabb468c94dd1ee5a71967c299eb43db90be35 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 1 Nov 2015 10:22:39 +0100 Subject: [PATCH] Migrated ZakFormElementIValidator from interface to abstract class. --- tests/form.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/form.c b/tests/form.c index 8b30f4c..50fd07d 100644 --- a/tests/form.c +++ b/tests/form.c @@ -67,7 +67,7 @@ main (int argc, char *argv[]) zak_form_element_add_filter (ZAK_FORM_ELEMENT (element), ZAK_FORM_ELEMENT_IFILTER (zak_form_element_filter_trim_new ())); zak_form_element_add_validator (ZAK_FORM_ELEMENT (element), - ZAK_FORM_ELEMENT_IVALIDATOR (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