{
type = (gchar *)xmlGetProp (xnode, (const xmlChar *)"type");
- validator_constructor = zak_form_get_form_element_validator (zakform, type);
+ validator_constructor = zak_form_form_get_form_element_validator (zakform, type);
if (validator_constructor != NULL)
{
validator = validator_constructor ();
* Returns: the constructor (_new) function for the module.
*/
static gpointer
-_zak_form_get_module_new (ZakFormForm *zakform, const gchar *namespace)
+_zak_form_form_get_module_new (ZakFormForm *zakform, const gchar *namespace)
{
gpointer ret;
}
/**
- * zak_form_get_form_element_validator:
+ * zak_form_form_get_form_element_validator:
* @zakform:
* @namespace:
*
* Returns:
*/
ZakFormElementValidatorConstructorFunc
-zak_form_get_form_element_validator (ZakFormForm *zakform, const gchar *namespace)
+zak_form_form_get_form_element_validator (ZakFormForm *zakform, const gchar *namespace)
{
ZakFormElementValidatorConstructorFunc validator_constructor;
g_return_val_if_fail (ZAK_FORM_IS_FORM (zakform), NULL);
- validator_constructor = (ZakFormElementValidatorConstructorFunc)_zak_form_get_module_new (zakform, namespace);
+ validator_constructor = (ZakFormElementValidatorConstructorFunc)_zak_form_form_get_module_new (zakform, namespace);
return validator_constructor;
}
typedef ZakFormElementValidator *(* ZakFormElementValidatorConstructorFunc) (void);
-ZakFormElementValidatorConstructorFunc zak_form_get_form_element_validator (ZakFormForm *zakform, const gchar *namespace);
+ZakFormElementValidatorConstructorFunc zak_form_form_get_form_element_validator (ZakFormForm *zakform, const gchar *namespace);
gboolean zak_form_form_load_from_xml (ZakFormForm *zakform, xmlDoc *xmldoc);
gboolean zak_form_form_load_from_file (ZakFormForm *zakform, const gchar *filename);
continue;
}
- validator_constructor = zak_form_get_form_element_validator (form, (gchar *)xmlGetProp (cur, (xmlChar *)"validator"));
+ validator_constructor = zak_form_form_get_form_element_validator (form, (gchar *)xmlGetProp (cur, (xmlChar *)"validator"));
if (validator_constructor == NULL)
{
g_warning ("Validator «%s» not found.",
n = (Node *)g_new0 (Node, 1);
- validator_constructor = zak_form_get_form_element_validator (form, (gchar *)xmlGetProp (cur, (xmlChar *)"type"));
+ validator_constructor = zak_form_form_get_form_element_validator (form, (gchar *)xmlGetProp (cur, (xmlChar *)"type"));
if (validator_constructor == NULL)
{
g_warning ("Validator «%s» not found.",