xmlSetProp (xnode, (const xmlChar *)"id", (xmlChar *)zak_form_validator_get_id (validator));
}
- if (ZAK_FORM_VALIDATOR_GET_CLASS (validator)->get_xml!= NULL)
+ if (ZAK_FORM_VALIDATOR_GET_CLASS (validator)->get_xml != NULL)
{
ZAK_FORM_VALIDATOR_GET_CLASS (validator)->get_xml (validator, xnode, version);
}
gboolean (*xml_parsing) (ZakFormValidator *self, xmlNode *xnode, gpointer zakform);
gboolean (*validate) (ZakFormValidator *self);
- void (*get_xml) (ZakFormValidator *self, const gchar *version, xmlNode *xnode);
+ void (*get_xml) (ZakFormValidator *self, xmlNode *xnode, const gchar *version);
};
gboolean zak_form_validator_xml_parsing (ZakFormValidator *validator, xmlNode *xnode, gpointer zakform);