]> saetta.ns0.it Git - zakform/libzakform/commitdiff
Wrong order variables in class function prototype ZakFormValidator::get_xml.
authorAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 08:16:05 +0000 (09:16 +0100)
committerAndrea Zagli <azagli@libero.it>
Tue, 15 Dec 2020 08:16:05 +0000 (09:16 +0100)
src/formvalidator.c
src/formvalidator.h

index a7e80cb015ce6b1e4c01228c7aa4eed162dd923e..011c2012588b6694aae1037a41789bedbc20fc8b 100644 (file)
@@ -285,7 +285,7 @@ xmlNode
                        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);
                }
index 18ab1a7f2a67c46625346efd44bd22d2731a7cf8..c74856de4092ce43bb6b525eb6b643996529324a 100644 (file)
@@ -38,7 +38,7 @@ struct _ZakFormValidatorClass
        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);