return g_strdup (priv->original_value);
}
+/**
+ * zak_form_element_set_as_original_value:
+ * @element
+ *
+ */
+void
+zak_form_element_set_as_original_value (ZakFormElement *element)
+{
+ zak_form_element_set_original_value (element, zak_form_element_get_value (element));
+}
+
+/**
+ * zak_form_element_is_changed:
+ * @element:
+ *
+ */
+gboolean
+zak_form_element_is_changed (ZakFormElement *element)
+{
+ return (g_strcmp0 (zak_form_element_get_original_value (element), zak_form_element_get_value (element)) == 0);
+}
+
/**
* zak_form_element_set_visible:
* @element:
void zak_form_element_set_original_value (ZakFormElement *element, const gchar *value);
gchar *zak_form_element_get_original_value (ZakFormElement *element);
+void zak_form_element_set_as_original_value (ZakFormElement *element);
+gboolean zak_form_element_is_changed (ZakFormElement *element);
void zak_form_element_set_visible (ZakFormElement *element, gboolean visible);
gboolean zak_form_element_get_visible (ZakFormElement *element);