13 files changed, 214 insertions(+), 27 deletions(-)
diff --git a/src/form.h b/src/form.h
-index 33b65ea..d10d3ed 100644
+index 55e7991..a2f3eb8 100644
--- a/src/form.h
+++ b/src/form.h
@@ -31,9 +31,20 @@
-
+
G_BEGIN_DECLS
-
+
-
-#define ZAK_FORM_TYPE_FORM zak_form_form_get_type ()
-G_DECLARE_DERIVABLE_TYPE (ZakFormForm, zak_form_form, ZAK_FORM, FORM, GObject)
+ {
+ GObject parent;
+ };
-
+
struct _ZakFormFormClass
{
diff --git a/src/formelement.h b/src/formelement.h
-index d68f6a5..d03ae81 100644
+index c3fd519..c513e18 100644
--- a/src/formelement.h
+++ b/src/formelement.h
@@ -31,8 +31,20 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT zak_form_element_get_type ()
-G_DECLARE_DERIVABLE_TYPE (ZakFormElement, zak_form_element, ZAK_FORM, ELEMENT, GObject)
+#define ZAK_FORM_TYPE_ELEMENT (zak_form_element_get_type ())
+ {
+ GObject parent;
+ };
-
+
struct _ZakFormElementClass
{
diff --git a/src/formelementfilter.h b/src/formelementfilter.h
-index 1dffefb..74cafad 100644
+index 468c74a..6f6dcc4 100644
--- a/src/formelementfilter.h
+++ b/src/formelementfilter.h
-@@ -25,8 +25,20 @@
+@@ -27,8 +27,20 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_FILTER zak_form_element_filter_get_type ()
-G_DECLARE_DERIVABLE_TYPE (ZakFormElementFilter, zak_form_element_filter, ZAK_FORM, ELEMENT_FILTER, GObject)
+#define ZAK_FORM_TYPE_ELEMENT_FILTER (zak_form_element_filter_get_type ())
+ {
+ GObject parent;
+ };
-
+
struct _ZakFormElementFilterClass
{
diff --git a/src/formelementfilterluc.h b/src/formelementfilterluc.h
-index eb00250..4c91a79 100644
+index 6710a15..09feb43 100644
--- a/src/formelementfilterluc.h
+++ b/src/formelementfilterluc.h
@@ -30,8 +30,25 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_FILTER_LUC zak_form_element_filter_luc_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormElementFilterLuc, zak_form_element_filter_luc, ZAK_FORM, ELEMENT_FILTER_LUC, ZakFormElementFilter)
+#define ZAK_FORM_TYPE_ELEMENT_FILTER_LUC (zak_form_element_filter_luc_get_type ())
+{
+ ZakFormElementFilterClass parent_cleass;
+};
-
+
ZakFormElementFilterLuc *zak_form_element_filter_luc_new (void);
diff --git a/src/formelementfiltertrim.h b/src/formelementfiltertrim.h
-index d74e0bf..0cb37e8 100644
+index aa50296..7f3d660 100644
--- a/src/formelementfiltertrim.h
+++ b/src/formelementfiltertrim.h
@@ -30,8 +30,26 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_FILTER_TRIM zak_form_element_filter_trim_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormElementFilterTrim, zak_form_element_filter_trim, ZAK_FORM, ELEMENT_FILTER_TRIM, ZakFormElementFilter)
+#define ZAK_FORM_TYPE_ELEMENT_FILTER_TRIM (zak_form_element_filter_trim_get_type ())
+ ZakFormElementFilterClass parent_cleass;
+};
+
-
+
ZakFormElementFilterTrim *zak_form_element_filter_trim_new (void);
diff --git a/src/formelementvalidator.h b/src/formelementvalidator.h
-index 2ef9407..9711b60 100644
+index 4f9d9c5..f4dbb3e 100644
--- a/src/formelementvalidator.h
+++ b/src/formelementvalidator.h
-@@ -25,8 +25,20 @@
+@@ -27,8 +27,20 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR zak_form_element_validator_get_type ()
-G_DECLARE_DERIVABLE_TYPE (ZakFormElementValidator, zak_form_element_validator, ZAK_FORM, ELEMENT_VALIDATOR, GObject)
+#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR (zak_form_element_validator_get_type ())
+ {
+ GObject parent;
+ };
-
+
struct _ZakFormElementValidatorClass
{
diff --git a/src/formelementvalidatordate.h b/src/formelementvalidatordate.h
-index 13b5f38..0406cee 100644
+index d5d489d..fad3cf3 100644
--- a/src/formelementvalidatordate.h
+++ b/src/formelementvalidatordate.h
-@@ -30,8 +30,25 @@
+@@ -31,8 +31,25 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_DATE zak_form_element_validator_date_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormElementValidatorDate, zak_form_element_validator_date, ZAK_FORM, ELEMENT_VALIDATOR_DATE, ZakFormElementValidator)
+#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_DATE (zak_form_element_validator_date_get_type ())
+ {
+ ZakFormElementValidatorClass parent_class;
+ };
-
+
ZakFormElementValidatorDate *zak_form_element_validator_date_new (void);
-
+
diff --git a/src/formelementvalidatornotempty.h b/src/formelementvalidatornotempty.h
-index 5a6b662..c6e3a20 100644
+index f64d06c..2fba186 100644
--- a/src/formelementvalidatornotempty.h
+++ b/src/formelementvalidatornotempty.h
@@ -30,8 +30,25 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_NOTEMPTY zak_form_element_validator_notempty_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormElementValidatorNotempty, zak_form_element_validator_notempty, ZAK_FORM, ELEMENT_VALIDATOR_NOTEMPTY, ZakFormElementValidator)
+#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_NOTEMPTY (zak_form_element_validator_notempty_get_type ())
+ {
+ ZakFormElementValidatorClass parent_class;
+ };
-
+
ZakFormElementValidatorNotempty *zak_form_element_validator_notempty_new (void);
-
+
diff --git a/src/formelementvalidatorregex.h b/src/formelementvalidatorregex.h
-index 4bb8b42..f8e62e0 100644
+index 127e1a0..4308b7a 100644
--- a/src/formelementvalidatorregex.h
+++ b/src/formelementvalidatorregex.h
@@ -30,8 +30,25 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_REGEX zak_form_element_validator_regex_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormElementValidatorRegex, zak_form_element_validator_regex, ZAK_FORM, ELEMENT_VALIDATOR_REGEX, ZakFormElementValidator)
+#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_REGEX (zak_form_element_validator_regex_get_type ())
+ {
+ ZakFormElementValidatorClass parent_class;
+ };
-
+
ZakFormElementValidatorRegex *zak_form_element_validator_regex_new (void);
diff --git a/src/formiprovider.h b/src/formiprovider.h
+++ b/src/formiprovider.h
@@ -25,8 +25,15 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_IPROVIDER zak_form_iprovider_get_type ()
-G_DECLARE_INTERFACE (ZakFormIProvider, zak_form_iprovider, ZAK_FORM, IPROVIDER, GObject)
+#define ZAK_FORM_TYPE_IPROVIDER (zak_form_iprovider_get_type ())
+
+typedef struct _ZakFormIProvider ZakFormIProvider;
+typedef struct _ZakFormIProviderInterface ZakFormIProviderInterface;
-
+
struct _ZakFormIProviderInterface
{
diff --git a/src/formvalidator.h b/src/formvalidator.h
-index c4586ec..5c7d768 100644
+index bdc01a1..40ef5c5 100644
--- a/src/formvalidator.h
+++ b/src/formvalidator.h
-@@ -25,8 +25,20 @@
+@@ -28,8 +28,20 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_VALIDATOR zak_form_validator_get_type ()
-G_DECLARE_DERIVABLE_TYPE (ZakFormValidator, zak_form_validator, ZAK_FORM, VALIDATOR, GObject)
+#define ZAK_FORM_TYPE_VALIDATOR (zak_form_validator_get_type ())
+ {
+ GObject parent;
+ };
-
+
struct _ZakFormValidatorClass
{
diff --git a/src/formvalidatorcompare.h b/src/formvalidatorcompare.h
-index 02139d0..d4ab5ac 100644
+index 07b48bb..45690ca 100644
--- a/src/formvalidatorcompare.h
+++ b/src/formvalidatorcompare.h
@@ -30,8 +30,26 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_VALIDATOR_COMPARE zak_form_validator_compare_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormValidatorCompare, zak_form_validator_compare, ZAK_FORM, VALIDATOR_COMPARE, ZakFormValidator)
+#define ZAK_FORM_TYPE_VALIDATOR_COMPARE (zak_form_validator_compare_get_type ())
+ ZakFormValidatorClass parent_class;
+};
+
-
+
ZakFormValidatorCompare *zak_form_validator_compare_new (void);
diff --git a/src/formvalidatorcomparedate.h b/src/formvalidatorcomparedate.h
-index c8940ca..ec11584 100644
+index 52fac52..a68f3af 100644
--- a/src/formvalidatorcomparedate.h
+++ b/src/formvalidatorcomparedate.h
@@ -30,8 +30,25 @@
G_BEGIN_DECLS
-
-
+
+
-#define ZAK_FORM_TYPE_VALIDATOR_COMPARE_DATE zak_form_validator_compare_date_get_type ()
-G_DECLARE_FINAL_TYPE (ZakFormValidatorCompareDate, zak_form_validator_compare_date, ZAK_FORM, VALIDATOR_COMPARE_DATE, ZakFormValidator)
+#define ZAK_FORM_TYPE_VALIDATOR_COMPARE_DATE (zak_form_validator_compare_date_get_type ())
+{
+ ZakFormValidatorClass parent_class;
+};
-
+
ZakFormValidatorCompareDate *zak_form_validator_compare_date_new (void);
17 files changed, 93 insertions(+), 126 deletions(-)
diff --git a/src/form.c b/src/form.c
-index c1b54cf..7670029 100644
+index 226ca90..03c076f 100644
--- a/src/form.c
+++ b/src/form.c
-@@ -61,6 +61,8 @@ static void zak_form_form_finalize (GObject *gobject);
+@@ -57,6 +57,8 @@ static void zak_form_form_finalize (GObject *gobject);
static void zak_form_form_load_modules (ZakFormForm *zakform);
typedef struct
{
GPtrArray *ar_modules;
-@@ -69,7 +71,7 @@ typedef struct
+@@ -65,7 +67,7 @@ typedef struct
GPtrArray *ar_messages;
} ZakFormFormPrivate;
#ifdef G_OS_WIN32
static HMODULE backend_dll = NULL;
-@@ -105,6 +107,8 @@ zak_form_form_class_init (ZakFormFormClass *class)
+@@ -101,6 +103,8 @@ zak_form_form_class_init (ZakFormFormClass *class)
object_class->dispose = zak_form_form_dispose;
object_class->finalize = zak_form_form_finalize;
class->get_elements = zak_form_form_get_elements;
}
-@@ -176,7 +180,7 @@ zak_form_form_element_xml_parsing (ZakFormForm *zakform, ZakFormElement *element
+@@ -170,7 +174,7 @@ zak_form_form_element_xml_parsing (ZakFormForm *zakform, ZakFormElement *element
gboolean to_unlink;
xmlNode *xnode_tmp;
xnode = xnode->children;
while (xnode)
-@@ -354,7 +358,7 @@ zak_form_form_load_from_xml (ZakFormForm *zakform, xmlDoc *xmldoc)
+@@ -356,7 +360,7 @@ zak_form_form_load_from_xml (ZakFormForm *zakform, xmlDoc *xmldoc)
{
ret = TRUE;
cur = cur->children;
while (cur)
-@@ -503,7 +507,7 @@ zak_form_form_add_element (ZakFormForm *zakform, ZakFormElement *element)
+@@ -497,7 +501,7 @@ zak_form_form_add_element (ZakFormForm *zakform, ZakFormElement *element)
ZakFormFormPrivate *priv;
g_ptr_array_add (priv->ar_elements, g_object_ref (element));
ret = TRUE;
-@@ -532,7 +536,7 @@ ZakFormElement
+@@ -526,7 +530,7 @@ ZakFormElement
guint i;
ret = NULL;
for (i = 0; i < priv->ar_elements->len; i++)
-@@ -607,7 +611,7 @@ zak_form_form_add_validator (ZakFormForm *zakform, ZakFormValidator *validator)
+@@ -601,7 +605,7 @@ zak_form_form_add_validator (ZakFormForm *zakform, ZakFormValidator *validator)
ZakFormFormPrivate *priv;
g_ptr_array_add (priv->ar_validators, g_object_ref (validator));
ret = TRUE;
-@@ -673,7 +677,7 @@ zak_form_form_clear (ZakFormForm *zakform)
+@@ -697,7 +701,7 @@ zak_form_form_clear (ZakFormForm *zakform)
g_return_if_fail (ZAK_FORM_IS_FORM (zakform));
for (i = 0; i < priv->ar_elements->len; i++)
{
-@@ -697,7 +701,7 @@ zak_form_form_set_as_original (ZakFormForm *zakform)
+@@ -721,7 +725,7 @@ zak_form_form_set_as_original (ZakFormForm *zakform)
g_return_if_fail (ZAK_FORM_IS_FORM (zakform));
for (i = 0; i < priv->ar_elements->len; i++)
{
-@@ -722,7 +726,7 @@ zak_form_form_set_editable (ZakFormForm *zakform, gboolean editable)
+@@ -746,7 +750,7 @@ zak_form_form_set_editable (ZakFormForm *zakform, gboolean editable)
g_return_if_fail (ZAK_FORM_IS_FORM (zakform));
for (i = 0; i < priv->ar_elements->len; i++)
{
-@@ -749,7 +753,7 @@ zak_form_form_is_valid (ZakFormForm *zakform)
+@@ -773,7 +777,7 @@ zak_form_form_is_valid (ZakFormForm *zakform)
GPtrArray *ar_messages;
ret = TRUE;
-@@ -786,7 +790,7 @@ GPtrArray
+@@ -810,7 +814,7 @@ GPtrArray
{
ZakFormFormPrivate *priv;
return priv->ar_messages;
}
-@@ -806,7 +810,7 @@ zak_form_form_is_changed (ZakFormForm *zakform)
+@@ -830,7 +834,7 @@ zak_form_form_is_changed (ZakFormForm *zakform)
ZakFormFormPrivate *priv;
ret = FALSE;
-@@ -834,7 +838,7 @@ zak_form_form_load (ZakFormForm *zakform, ZakFormIProvider *provider)
+@@ -858,7 +862,7 @@ zak_form_form_load (ZakFormForm *zakform, ZakFormIProvider *provider)
{
ZakFormFormPrivate *priv;
return zak_form_iprovider_load (provider, priv->ar_elements);
}
-@@ -850,7 +854,7 @@ zak_form_form_insert (ZakFormForm *zakform, ZakFormIProvider *provider)
+@@ -874,7 +878,7 @@ zak_form_form_insert (ZakFormForm *zakform, ZakFormIProvider *provider)
{
ZakFormFormPrivate *priv;
return zak_form_iprovider_insert (provider, priv->ar_elements);
}
-@@ -866,7 +870,7 @@ zak_form_form_update (ZakFormForm *zakform, ZakFormIProvider *provider)
+@@ -890,7 +894,7 @@ zak_form_form_update (ZakFormForm *zakform, ZakFormIProvider *provider)
{
ZakFormFormPrivate *priv;
return zak_form_iprovider_update (provider, priv->ar_elements);
}
-@@ -882,7 +886,7 @@ zak_form_form_delete (ZakFormForm *zakform, ZakFormIProvider *provider)
+@@ -906,7 +910,7 @@ zak_form_form_delete (ZakFormForm *zakform, ZakFormIProvider *provider)
{
ZakFormFormPrivate *priv;
return zak_form_iprovider_delete (provider, priv->ar_elements);
}
-@@ -895,7 +899,7 @@ zak_form_form_set_property (GObject *object,
+@@ -919,7 +923,7 @@ zak_form_form_set_property (GObject *object,
GParamSpec *pspec)
{
ZakFormForm *zak_form_form = (ZakFormForm *)object;
switch (property_id)
{
-@@ -912,7 +916,7 @@ zak_form_form_get_property (GObject *object,
+@@ -936,7 +940,7 @@ zak_form_form_get_property (GObject *object,
GParamSpec *pspec)
{
ZakFormForm *zak_form_form = (ZakFormForm *)object;
switch (property_id)
{
-@@ -926,7 +930,7 @@ static void
+@@ -950,7 +954,7 @@ static void
zak_form_form_dispose (GObject *gobject)
{
ZakFormForm *zak_form_form = (ZakFormForm *)gobject;
-@@ -938,7 +942,7 @@ static void
+@@ -962,7 +966,7 @@ static void
zak_form_form_finalize (GObject *gobject)
{
ZakFormForm *zak_form_form = (ZakFormForm *)gobject;
-@@ -960,7 +964,7 @@ zak_form_form_load_modules (ZakFormForm* zakform)
+@@ -984,7 +988,7 @@ zak_form_form_load_modules (ZakFormForm* zakform)
if (g_module_supported ())
{
modulesdir = (gchar *)g_getenv ("LIBZAKFORM_MODULESDIR");
if (modulesdir == NULL)
diff --git a/src/formelement.c b/src/formelement.c
-index 9e6db5e..c0eb87e 100644
+index eb9a601..ea3542c 100644
--- a/src/formelement.c
+++ b/src/formelement.c
-@@ -64,6 +64,8 @@ static void zak_form_element_finalize (GObject *gobject);
+@@ -65,6 +65,8 @@ static void zak_form_element_finalize (GObject *gobject);
static void zak_form_element_xml_parsing (ZakFormElement *element, xmlNode *xmlnode);
typedef struct
{
gchar *name;
-@@ -85,7 +87,7 @@ typedef struct
+@@ -86,7 +88,7 @@ typedef struct
GPtrArray *pa_messages;
} ZakFormElementPrivate;
static void
zak_form_element_class_init (ZakFormElementClass *class)
-@@ -99,6 +101,8 @@ zak_form_element_class_init (ZakFormElementClass *class)
+@@ -100,6 +102,8 @@ zak_form_element_class_init (ZakFormElementClass *class)
class->xml_parsing = zak_form_element_xml_parsing;
g_object_class_install_property (object_class, PROP_NAME,
g_param_spec_string ("name",
"Name",
-@@ -217,7 +221,7 @@ zak_form_element_add_extension (ZakFormElement *element, GObject *extension)
+@@ -250,7 +254,7 @@ zak_form_element_add_extension (ZakFormElement *element, GObject *extension)
{
ZakFormElementPrivate *priv;
g_ptr_array_add (priv->pa_extensions, extension);
}
-@@ -364,7 +368,7 @@ zak_form_element_set_name (ZakFormElement *element, const gchar *name)
+@@ -426,7 +430,7 @@ zak_form_element_set_name (ZakFormElement *element, const gchar *name)
{
ZakFormElementPrivate *priv;
if (priv->name != NULL)
{
-@@ -386,7 +390,7 @@ gchar
+@@ -448,7 +452,7 @@ gchar
gchar *ret;
ret = g_strdup (priv->name);
-@@ -404,7 +408,7 @@ zak_form_element_set_long_name (ZakFormElement *element, const gchar *long_name)
+@@ -466,7 +470,7 @@ zak_form_element_set_long_name (ZakFormElement *element, const gchar *long_name)
{
ZakFormElementPrivate *priv;
if (priv->long_name != NULL)
{
-@@ -426,7 +430,7 @@ gchar
+@@ -495,7 +499,7 @@ gchar
gchar *ret;
if (priv->long_name == NULL)
{
-@@ -451,7 +455,7 @@ zak_form_element_set_is_key (ZakFormElement *element, gboolean is_key)
+@@ -520,7 +524,7 @@ zak_form_element_set_is_key (ZakFormElement *element, gboolean is_key)
{
ZakFormElementPrivate *priv;
priv->is_key = is_key;
}
-@@ -466,7 +470,7 @@ zak_form_element_get_is_key (ZakFormElement *element)
+@@ -535,7 +539,7 @@ zak_form_element_get_is_key (ZakFormElement *element)
{
ZakFormElementPrivate *priv;
return priv->is_key;
}
-@@ -482,7 +486,7 @@ zak_form_element_set_provider_type (ZakFormElement *element, const gchar *type)
+@@ -551,7 +555,7 @@ zak_form_element_set_provider_type (ZakFormElement *element, const gchar *type)
{
ZakFormElementPrivate *priv;
if (priv->type != NULL)
{
-@@ -504,7 +508,7 @@ gchar
+@@ -573,7 +577,7 @@ gchar
gchar *ret;
ret = g_strdup (priv->type);
-@@ -722,7 +726,7 @@ zak_form_element_set_value (ZakFormElement *element, const gchar *value)
+@@ -819,7 +823,7 @@ zak_form_element_set_value_gvalue (ZakFormElement *element, GValue *value)
ret = TRUE;
if (priv->value != NULL)
{
-@@ -848,7 +848,7 @@ gchar
+@@ -848,7 +852,7 @@ GValue
GValue *ret;
if (ZAK_FORM_ELEMENT_GET_CLASS (element)->get_value != NULL)
{
-@@ -780,7 +784,7 @@ zak_form_element_set_default_value (ZakFormElement *element, const gchar *value)
+@@ -900,7 +904,7 @@ zak_form_element_set_default_value_gvalue (ZakFormElement *element, GValue *valu
ret = TRUE;
if (priv->default_value != NULL)
{
-@@ -802,7 +806,7 @@ gchar
+@@ -923,7 +927,7 @@ GValue
{
ZakFormElementPrivate *priv;
return priv->default_value;
}
-@@ -822,7 +826,7 @@ zak_form_element_set_original_value (ZakFormElement *element, const gchar *value
+@@ -966,7 +970,7 @@ zak_form_element_set_original_value_gvalue (ZakFormElement *element, GValue *val
ret = TRUE;
if (priv->original_value != NULL)
{
-@@ -844,7 +848,7 @@ gchar
+@@ -989,7 +993,7 @@ GValue
{
ZakFormElementPrivate *priv;
return priv->original_value;
}
-@@ -882,7 +886,7 @@ zak_form_element_set_format (ZakFormElement *element, GHashTable *format)
+@@ -1049,7 +1053,7 @@ zak_form_element_set_format (ZakFormElement *element, GHashTable *format)
{
ZakFormElementPrivate *priv;
if (priv->format != NULL)
{
-@@ -906,7 +910,7 @@ GHashTable
+@@ -1073,7 +1077,7 @@ GHashTable
GHashTable *ret;
ret = g_hash_table_ref (priv->format);
-@@ -924,7 +928,7 @@ zak_form_element_set_visible (ZakFormElement *element, gboolean visible)
+@@ -1091,7 +1095,7 @@ zak_form_element_set_visible (ZakFormElement *element, gboolean visible)
{
ZakFormElementPrivate *priv;
priv->visible = visible;
-@@ -946,7 +950,7 @@ zak_form_element_get_visible (ZakFormElement *element)
+@@ -1113,7 +1117,7 @@ zak_form_element_get_visible (ZakFormElement *element)
gboolean ret;
if (ZAK_FORM_ELEMENT_GET_CLASS (element)->get_visible != NULL)
{
-@@ -971,7 +975,7 @@ zak_form_element_set_editable (ZakFormElement *element, gboolean editable)
+@@ -1138,7 +1142,7 @@ zak_form_element_set_editable (ZakFormElement *element, gboolean editable)
{
ZakFormElementPrivate *priv;
priv->editable = editable;
-@@ -993,7 +997,7 @@ zak_form_element_get_editable (ZakFormElement *element)
+@@ -1160,7 +1164,7 @@ zak_form_element_get_editable (ZakFormElement *element)
gboolean ret;
if (ZAK_FORM_ELEMENT_GET_CLASS (element)->get_editable != NULL)
{
-@@ -1018,7 +1022,7 @@ zak_form_element_set_to_load (ZakFormElement *element, gboolean to_load)
+@@ -1185,7 +1189,7 @@ zak_form_element_set_to_load (ZakFormElement *element, gboolean to_load)
{
ZakFormElementPrivate *priv;
priv->to_load = to_load;
}
-@@ -1033,7 +1037,7 @@ zak_form_element_get_to_load (ZakFormElement *element)
+@@ -1200,7 +1204,7 @@ zak_form_element_get_to_load (ZakFormElement *element)
{
ZakFormElementPrivate *priv;
return priv->to_load;
}
-@@ -1049,7 +1053,7 @@ zak_form_element_set_to_save (ZakFormElement *element, gboolean to_save)
+@@ -1216,7 +1220,7 @@ zak_form_element_set_to_save (ZakFormElement *element, gboolean to_save)
{
ZakFormElementPrivate *priv;
priv->to_save = to_save;
}
-@@ -1064,7 +1068,7 @@ zak_form_element_get_to_save (ZakFormElement *element)
+@@ -1231,7 +1235,7 @@ zak_form_element_get_to_save (ZakFormElement *element)
{
ZakFormElementPrivate *priv;
return priv->to_save;
}
-@@ -1079,7 +1083,7 @@ zak_form_element_clear (ZakFormElement *element)
+@@ -1246,7 +1250,7 @@ zak_form_element_clear (ZakFormElement *element)
{
ZakFormElementPrivate *priv;
zak_form_element_set_value_gvalue (element, priv->default_value);
}
-@@ -1315,7 +1315,7 @@ zak_form_element_is_valid (ZakFormElement *element)
+@@ -1314,7 +1318,7 @@ zak_form_element_is_valid (ZakFormElement *element)
ZakFormElementClass *klass = ZAK_FORM_ELEMENT_GET_CLASS (element);
ret = TRUE;
ret_callback = FALSE;
-@@ -1155,7 +1159,7 @@ zak_form_element_is_valid (ZakFormElement *element)
+@@ -1367,7 +1371,7 @@ zak_form_element_is_valid (ZakFormElement *element)
GPtrArray
*zak_form_element_get_messages (ZakFormElement *element)
{
return priv->pa_messages;
}
-@@ -1212,7 +1216,7 @@ zak_form_element_set_property (GObject *object,
+@@ -1424,7 +1428,7 @@ zak_form_element_set_property (GObject *object,
GParamSpec *pspec)
{
ZakFormElement *zak_form_element = (ZakFormElement *)object;
switch (property_id)
{
-@@ -1277,7 +1281,7 @@ zak_form_element_get_property (GObject *object,
+@@ -1489,7 +1493,7 @@ zak_form_element_get_property (GObject *object,
GParamSpec *pspec)
{
ZakFormElement *zak_form_element = (ZakFormElement *)object;
switch (property_id)
{
-@@ -1339,7 +1343,7 @@ static void
+@@ -1551,7 +1555,7 @@ static void
zak_form_element_dispose (GObject *gobject)
{
ZakFormElement *zak_form_element = (ZakFormElement *)gobject;
-@@ -1351,7 +1355,7 @@ static void
+@@ -1563,7 +1567,7 @@ static void
zak_form_element_finalize (GObject *gobject)
{
ZakFormElement *zak_form_element = (ZakFormElement *)gobject;
diff --git a/src/formelementfilterluc.c b/src/formelementfilterluc.c
-index 543043a..e0f7bf9 100644
+index ee9d928..f4f25ef 100644
--- a/src/formelementfilterluc.c
+++ b/src/formelementfilterluc.c
-@@ -51,13 +51,6 @@ enum
+@@ -52,13 +52,6 @@ enum
CAMEL
};
typedef struct _ZakFormElementFilterLucPrivate ZakFormElementFilterLucPrivate;
diff --git a/src/formelementfiltertrim.c b/src/formelementfiltertrim.c
-index 6acafbd..8b658f1 100644
+index 1a891a8..5977952 100644
--- a/src/formelementfiltertrim.c
+++ b/src/formelementfiltertrim.c
-@@ -41,13 +41,6 @@
+@@ -41,13 +41,6 @@ static void zak_form_element_filter_trim_finalize (GObject *gobject);
static gboolean zak_form_element_filter_trim_xml_parsing (ZakFormElementFilter *filter, xmlNode *xnode);
static gchar *zak_form_element_filter_trim_filter (ZakFormElementFilter *filter_trim, const gchar *value);
typedef struct _ZakFormElementFilterTrimPrivate ZakFormElementFilterTrimPrivate;
diff --git a/src/formelementvalidator.c b/src/formelementvalidator.c
-index 65fb8db..27c2fbd 100644
+index 063b3b2..2ac0232 100644
--- a/src/formelementvalidator.c
+++ b/src/formelementvalidator.c
-@@ -47,14 +47,16 @@ static void zak_form_element_validator_get_property (GObject *object,
+@@ -47,6 +47,8 @@ static void zak_form_element_validator_get_property (GObject *object,
static void zak_form_element_validator_dispose (GObject *gobject);
static void zak_form_element_validator_finalize (GObject *gobject);
typedef struct
{
gchar *id;
- gboolean enabled;
+@@ -54,7 +56,7 @@ typedef struct
gchar *message;
} ZakFormElementValidatorPrivate;
static void
zak_form_element_validator_class_init (ZakFormElementValidatorClass *class)
-@@ -66,6 +66,8 @@ zak_form_element_validator_class_init (ZakFormElementValidatorClass *class)
+@@ -66,6 +68,8 @@ zak_form_element_validator_class_init (ZakFormElementValidatorClass *class)
object_class->dispose = zak_form_element_validator_dispose;
object_class->finalize = zak_form_element_validator_finalize;
g_object_class_install_property (object_class, PROP_ID,
g_param_spec_string ("id",
"Id",
-@@ -195,7 +195,7 @@ void
+@@ -195,7 +199,7 @@ void
zak_form_element_validator_set_message (ZakFormElementValidator *validator,
const gchar *message)
{
priv->message = g_strdup (message);
}
-@@ -209,7 +209,7 @@ zak_form_element_validator_set_message (ZakFormElementValidator *validator,
+@@ -209,7 +213,7 @@ zak_form_element_validator_set_message (ZakFormElementValidator *validator,
gchar
*zak_form_element_validator_get_message (ZakFormElementValidator *validator)
{
return g_strdup (priv->message);
}
-@@ -166,7 +170,7 @@ zak_form_element_validator_set_property (GObject *object,
+@@ -250,7 +254,7 @@ zak_form_element_validator_set_property (GObject *object,
GParamSpec *pspec)
{
ZakFormElementValidator *zak_form_element_validator = (ZakFormElementValidator *)object;
switch (property_id)
{
-@@ -191,7 +195,7 @@ zak_form_element_validator_get_property (GObject *object,
+@@ -279,7 +283,7 @@ zak_form_element_validator_get_property (GObject *object,
GParamSpec *pspec)
{
ZakFormElementValidator *zak_form_element_validator = (ZakFormElementValidator *)object;
switch (property_id)
{
-@@ -213,7 +217,7 @@ static void
+@@ -305,7 +309,7 @@ static void
zak_form_element_validator_dispose (GObject *gobject)
{
ZakFormElementValidator *zak_form_element_validator = (ZakFormElementValidator *)gobject;
-@@ -225,7 +229,7 @@ static void
+@@ -317,7 +321,7 @@ static void
zak_form_element_validator_finalize (GObject *gobject)
{
ZakFormElementValidator *zak_form_element_validator = (ZakFormElementValidator *)gobject;
diff --git a/src/formelementvalidatordate.c b/src/formelementvalidatordate.c
-index df7d0f5..b938f75 100644
+index 55f0ca9..61708b4 100644
--- a/src/formelementvalidatordate.c
+++ b/src/formelementvalidatordate.c
-@@ -45,13 +45,6 @@
+@@ -45,13 +45,6 @@ static void zak_form_element_validator_date_finalize (GObject *gobject);
static gboolean zak_form_element_validator_date_xml_parsing (ZakFormElementValidator *validator, xmlNode *xnode);
static gboolean zak_form_element_validator_date_validate (ZakFormElementValidator *validator_date, const gchar *value);
typedef struct _ZakFormElementValidatorDatePrivate ZakFormElementValidatorDatePrivate;
diff --git a/src/formelementvalidatordate.h b/src/formelementvalidatordate.h
-index 0406cee..b55fdbe 100644
+index fad3cf3..f803813 100644
--- a/src/formelementvalidatordate.h
+++ b/src/formelementvalidatordate.h
-@@ -31,7 +31,7 @@ G_BEGIN_DECLS
+@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define ZAK_FORM_TYPE_ELEMENT_VALIDATOR_DATE (zak_form_element_validator_date_get_type ())
#define ZAK_FORM_IS_ELEMENT_VALIDATOR_DATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZAK_FORM_TYPE_ELEMENT_VALIDATOR_DATE))
#define ZAK_FORM_IS_ELEMENT_VALIDATOR_DATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ZAK_FORM_TYPE_ELEMENT_VALIDATOR_DATE))
diff --git a/src/formelementvalidatornotempty.c b/src/formelementvalidatornotempty.c
-index a3ef4e2..63f6131 100644
+index ad40f64..43a74fc 100644
--- a/src/formelementvalidatornotempty.c
+++ b/src/formelementvalidatornotempty.c
-@@ -47,13 +47,6 @@
+@@ -47,13 +47,6 @@ static void zak_form_element_validator_notempty_finalize (GObject *gobject);
static gboolean zak_form_element_validator_notempty_xml_parsing (ZakFormElementValidator *validator, xmlNode *xnode);
static gboolean zak_form_element_validator_notempty_validate (ZakFormElementValidator *validator_notempty, const gchar *value);
typedef struct _ZakFormElementValidatorNotemptyPrivate ZakFormElementValidatorNotemptyPrivate;
diff --git a/src/formelementvalidatornotempty.h b/src/formelementvalidatornotempty.h
-index c6e3a20..3dc4c0e 100644
+index 2fba186..0f7ed77 100644
--- a/src/formelementvalidatornotempty.h
+++ b/src/formelementvalidatornotempty.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
#define ZAK_FORM_IS_ELEMENT_VALIDATOR_NOTEMPTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZAK_FORM_TYPE_ELEMENT_VALIDATOR_NOTEMPTY))
#define ZAK_FORM_IS_ELEMENT_VALIDATOR_NOTEMPTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ZAK_FORM_TYPE_ELEMENT_VALIDATOR_NOTEMPTY))
diff --git a/src/formelementvalidatorregex.c b/src/formelementvalidatorregex.c
-index a0d5b2b..aa8658a 100644
+index 8614ebf..934426e 100644
--- a/src/formelementvalidatorregex.c
+++ b/src/formelementvalidatorregex.c
-@@ -47,13 +47,6 @@
+@@ -47,13 +47,6 @@ static void zak_form_element_validator_regex_finalize (GObject *gobject);
static gboolean zak_form_element_validator_regex_xml_parsing (ZakFormElementValidator *validator, xmlNode *xnode);
static gboolean zak_form_element_validator_regex_validate (ZakFormElementValidator *validator_regex, const gchar *value);
typedef struct _ZakFormElementValidatorRegexPrivate ZakFormElementValidatorRegexPrivate;
diff --git a/src/formelementvalidatorregex.h b/src/formelementvalidatorregex.h
-index f8e62e0..ac437b6 100644
+index 4308b7a..efb623f 100644
--- a/src/formelementvalidatorregex.h
+++ b/src/formelementvalidatorregex.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
typedef struct _ZakFormIProvider ZakFormIProvider;
diff --git a/src/formvalidator.c b/src/formvalidator.c
-index eba0131..6cc3f4e 100644
+index 24c1f8b..df5cc82 100644
--- a/src/formvalidator.c
+++ b/src/formvalidator.c
-@@ -48,14 +48,16 @@ static void zak_form_validator_get_property (GObject *object,
+@@ -48,6 +48,8 @@ static void zak_form_validator_get_property (GObject *object,
static void zak_form_validator_dispose (GObject *gobject);
static void zak_form_validator_finalize (GObject *gobject);
typedef struct
{
gchar *id;
- gboolean enabled;
+@@ -55,7 +57,7 @@ typedef struct
gchar *message;
} ZakFormValidatorPrivate;
static void
zak_form_validator_class_init (ZakFormValidatorClass *class)
-@@ -67,6 +67,8 @@ zak_form_validator_class_init (ZakFormValidatorClass *class)
+@@ -67,6 +69,8 @@ zak_form_validator_class_init (ZakFormValidatorClass *class)
object_class->dispose = zak_form_validator_dispose;
object_class->finalize = zak_form_validator_finalize;
g_object_class_install_property (object_class, PROP_ID,
g_param_spec_string ("id",
"Id",
-@@ -92,7 +92,7 @@ zak_form_validator_class_init (ZakFormValidatorClass *class)
+@@ -92,7 +96,7 @@ zak_form_validator_class_init (ZakFormValidatorClass *class)
static void
zak_form_validator_init (ZakFormValidator *zak_form_validator)
{
}
/**
-@@ -206,7 +206,7 @@ void
+@@ -206,7 +210,7 @@ void
zak_form_validator_set_message (ZakFormValidator *validator,
const gchar *message)
{
priv->message = g_strdup (message);
}
-@@ -220,7 +220,7 @@
+@@ -220,7 +224,7 @@ zak_form_validator_set_message (ZakFormValidator *validator,
gchar
*zak_form_validator_get_message (ZakFormValidator *validator)
{
return g_strdup (priv->message);
}
-@@ -166,7 +170,7 @@ zak_form_validator_set_property (GObject *object,
+@@ -261,7 +265,7 @@ zak_form_validator_set_property (GObject *object,
GParamSpec *pspec)
{
ZakFormValidator *zak_form_validator = (ZakFormValidator *)object;
switch (property_id)
{
-@@ -261,7 +261,7 @@ zak_form_validator_get_property (GObject *object,
+@@ -290,7 +294,7 @@ zak_form_validator_get_property (GObject *object,
GParamSpec *pspec)
{
ZakFormValidator *zak_form_validator = (ZakFormValidator *)object;
switch (property_id)
{
-@@ -316,7 +316,7 @@ static void
+@@ -316,7 +320,7 @@ static void
zak_form_validator_dispose (GObject *gobject)
{
ZakFormValidator *zak_form_validator = (ZakFormValidator *)gobject;
-@@ -328,7 +328,7 @@ static void
+@@ -328,7 +332,7 @@ static void
zak_form_validator_finalize (GObject *gobject)
{
ZakFormValidator *zak_form_validator = (ZakFormValidator *)gobject;
diff --git a/src/formvalidatorcompare.c b/src/formvalidatorcompare.c
-index 02fedf6..6d4eac2 100644
+index 2053b14..d07ec6b 100644
--- a/src/formvalidatorcompare.c
+++ b/src/formvalidatorcompare.c
-@@ -47,13 +47,6 @@
+@@ -47,13 +47,6 @@ static void zak_form_validator_compare_finalize (GObject *gobject);
static gboolean zak_form_validator_compare_xml_parsing (ZakFormValidator *validator, xmlNode *xnode, gpointer form);
static gboolean zak_form_validator_compare_validate (ZakFormValidator *validator_notempty);
typedef struct _ZakFormValidatorComparePrivate ZakFormValidatorComparePrivate;
diff --git a/src/formvalidatorcompare.h b/src/formvalidatorcompare.h
-index d4ab5ac..91b9180 100644
+index 45690ca..6f153de 100644
--- a/src/formvalidatorcompare.h
+++ b/src/formvalidatorcompare.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
#define ZAK_FORM_IS_VALIDATOR_COMPARE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZAK_FORM_TYPE_VALIDATOR_COMPARE))
#define ZAK_FORM_IS_VALIDATOR_COMPARE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ZAK_FORM_TYPE_VALIDATOR_COMPARE))
diff --git a/src/formvalidatorcomparedate.c b/src/formvalidatorcomparedate.c
-index 78e4360..2546163 100644
+index 13089ee..edb658e 100644
--- a/src/formvalidatorcomparedate.c
+++ b/src/formvalidatorcomparedate.c
-@@ -47,13 +47,6 @@
+@@ -47,13 +47,6 @@ static void zak_form_validator_compare_date_finalize (GObject *gobject);
static gboolean zak_form_validator_compare_date_xml_parsing (ZakFormValidator *validator, xmlNode *xnode, gpointer form);
static gboolean zak_form_validator_compare_date_validate (ZakFormValidator *validator_notempty);
typedef struct _ZakFormValidatorCompareDatePrivate ZakFormValidatorCompareDatePrivate;
diff --git a/src/formvalidatorcomparedate.h b/src/formvalidatorcomparedate.h
-index ec11584..655680a 100644
+index a68f3af..e096de0 100644
--- a/src/formvalidatorcomparedate.h
+++ b/src/formvalidatorcomparedate.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
5 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/src/form.c b/src/form.c
-index 8223d72..20c8403 100644
+index 4d6a76a..db77782 100644
--- a/src/form.c
+++ b/src/form.c
-@@ -562,7 +562,7 @@ ZakFormElement
+@@ -556,7 +556,7 @@ ZakFormElement
GPtrArray
*zak_form_form_get_elements (ZakFormForm *zakform)
{
return priv->ar_elements;
}
-@@ -582,7 +582,7 @@ GPtrArray
+@@ -576,7 +576,7 @@ GPtrArray
guint i;
ar = g_ptr_array_new ();
for (i = 0; i < priv->ar_elements->len; i++)
-@@ -628,7 +628,7 @@ zak_form_form_add_validator (ZakFormForm *zakform, ZakFormValidator *validator)
+@@ -652,7 +652,7 @@ ZakFormValidator
GPtrArray
*zak_form_form_get_validators (ZakFormForm *zakform)
{
return priv->ar_validators;
}
-@@ -648,7 +648,7 @@ GPtrArray
+@@ -672,7 +672,7 @@ GPtrArray
guint i;
ar = g_ptr_array_new ();
for (i = 0; i < priv->ar_validators->len; i++)
diff --git a/src/formelement.c b/src/formelement.c
-index d477a4f..9d307d9 100644
+index 93b29c4..e37ee52 100644
--- a/src/formelement.c
+++ b/src/formelement.c
-@@ -235,7 +235,7 @@ zak_form_element_add_extension (ZakFormElement *element, GObject *extension)
+@@ -268,7 +268,7 @@ zak_form_element_add_extension (ZakFormElement *element, GObject *extension)
GPtrArray
*zak_form_element_get_extensions (ZakFormElement *element)
{
return priv->pa_extensions;
}
-@@ -255,7 +255,7 @@ GPtrArray
+@@ -288,7 +288,7 @@ GPtrArray
guint i;
ar = g_ptr_array_new ();
for (i = 0; i < priv->pa_extensions->len; i++)
-@@ -281,7 +281,7 @@ zak_form_element_add_filter (ZakFormElement *element, ZakFormElementFilter *filt
+@@ -314,7 +314,7 @@ zak_form_element_add_filter (ZakFormElement *element, ZakFormElementFilter *filt
{
ZakFormElementPrivate *priv;
g_ptr_array_add (priv->pa_filters, filter);
}
-@@ -298,7 +298,7 @@ zak_form_element_filter (ZakFormElement *element)
+@@ -331,7 +331,7 @@ zak_form_element_filter (ZakFormElement *element)
ZakFormElementPrivate *priv;
for (i = 0; i < priv->pa_filters->len; i++)
{
-@@ -322,7 +322,7 @@ zak_form_element_filter (ZakFormElement *element)
+@@ -355,7 +355,7 @@ zak_form_element_filter (ZakFormElement *element)
GPtrArray
*zak_form_element_get_filters (ZakFormElement *element)
{
return priv->pa_filters;
}
-@@ -342,7 +342,7 @@ GPtrArray
+@@ -404,7 +404,7 @@ GPtrArray
guint i;
ar = g_ptr_array_new ();
for (i = 0; i < priv->pa_filters->len; i++)
-@@ -1099,7 +1099,7 @@ zak_form_element_add_validator (ZakFormElement *element, ZakFormElementValidator
+@@ -1266,7 +1266,7 @@ zak_form_element_add_validator (ZakFormElement *element, ZakFormElementValidator
{
ZakFormElementPrivate *priv;
g_ptr_array_add (priv->pa_validators, validator);
}
-@@ -1173,7 +1173,7 @@ GPtrArray
+@@ -1385,7 +1385,7 @@ GPtrArray
GPtrArray
*zak_form_element_get_validators(ZakFormElement *element)
{
return priv->pa_validators;
}
-@@ -1193,7 +1193,7 @@ GPtrArray
+@@ -1405,7 +1405,7 @@ GPtrArray
guint i;
ar = g_ptr_array_new ();
for (i = 0; i < priv->pa_validators->len; i++)
diff --git a/src/formelementfilter.c b/src/formelementfilter.c
-index 6d53784..f17663e 100644
+index 07dc347..1bb9652 100644
--- a/src/formelementfilter.c
+++ b/src/formelementfilter.c
-@@ -50,7 +50,7 @@ typedef struct
+@@ -52,7 +52,7 @@ typedef struct
gboolean enabled;
} ZakFormElementFilterPrivate;
static void
zak_form_element_filter_class_init (ZakFormElementFilterClass *class)
-@@ -75,6 +75,8 @@ zak_form_element_filter_class_init (ZakFormElementFilterClass *class)
+@@ -77,6 +77,8 @@ zak_form_element_filter_class_init (ZakFormElementFilterClass *class)
"Enabled",
TRUE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
}
static void
-@@ -105,7 +107,7 @@ gchar
+@@ -178,7 +180,7 @@ gchar
gboolean
zak_form_element_filter_get_enabled (ZakFormElementFilter *filter)
{
return priv->enabled;
}
-@@ -119,7 +121,7 @@ zak_form_element_filter_get_enabled (ZakFormElementFilter *filter)
+@@ -192,7 +194,7 @@ zak_form_element_filter_get_enabled (ZakFormElementFilter *filter)
void
zak_form_element_filter_set_enabled (ZakFormElementFilter *filter, gboolean enabled)
{
priv->enabled = enabled;
}
diff --git a/src/formelementvalidator.c b/src/formelementvalidator.c
-index 29869c8..5b37879 100644
+index 0db180c..d75db60 100644
--- a/src/formelementvalidator.c
+++ b/src/formelementvalidator.c
-@@ -143,7 +143,7 @@ gchar
+@@ -227,7 +227,7 @@ gchar
gboolean
zak_form_element_validator_get_enabled (ZakFormElementValidator *validator)
{
return priv->enabled;
}
-@@ -157,7 +157,7 @@ zak_form_element_validator_get_enabled (ZakFormElementValidator *validator)
+@@ -241,7 +241,7 @@ zak_form_element_validator_get_enabled (ZakFormElementValidator *validator)
void
zak_form_element_validator_set_enabled (ZakFormElementValidator *validator, gboolean enabled)
{
priv->enabled = enabled;
}
diff --git a/src/formvalidator.c b/src/formvalidator.c
-index 6cc3f4e..7497b27 100644
+index df5cc82..6c95360 100644
--- a/src/formvalidator.c
+++ b/src/formvalidator.c
-@@ -143,7 +143,7 @@ gchar
+@@ -238,7 +238,7 @@ gchar
gboolean
zak_form_validator_get_enabled (ZakFormValidator *validator)
{
return priv->enabled;
}
-@@ -157,7 +157,7 @@ zak_form_validator_get_enabled (ZakFormValidator *validator)
+@@ -252,7 +252,7 @@ zak_form_validator_get_enabled (ZakFormValidator *validator)
void
zak_form_validator_set_enabled (ZakFormValidator *validator, gboolean enabled)
{