static void zak_form_element_xml_parsing (ZakFormElement *element, xmlNode *xmlnode);
-static GPtrArray *zak_form_element_get_messages (ZakFormElement *element);
-
typedef struct
{
gchar *name;
object_class->finalize = zak_form_element_finalize;
class->xml_parsing = zak_form_element_xml_parsing;
- class->get_messages = zak_form_element_get_messages;
g_object_class_install_property (object_class, PROP_NAME,
g_param_spec_string ("name",
return ret;
}
+/**
+ * zak_form_element_get_messages:
+ * @element:
+ *
+ */
+GPtrArray
+*zak_form_element_get_messages (ZakFormElement *element)
+{
+ ZakFormElementPrivate *priv = zak_form_element_get_instance_private (element);
+
+ return priv->pa_messages;
+}
+
/* PRIVATE */
static void
zak_form_element_set_property (GObject *object,
cur = cur->next;
}
}
-
-static GPtrArray
-*zak_form_element_get_messages (ZakFormElement *element)
-{
- ZakFormElementPrivate *priv = zak_form_element_get_instance_private (element);
-
- return priv->pa_messages;
-}
void (*set_editable) (ZakFormElement *element, gboolean editable);
gboolean (*get_editable) (ZakFormElement *element);
-
- GPtrArray *(*get_messages) (ZakFormElement *element);
};
-
void zak_form_element_set_name (ZakFormElement *element, const gchar *name);
gchar *zak_form_element_get_name (ZakFormElement *element);
void zak_form_element_add_validator (ZakFormElement *element, ZakFormElementValidator *validator);
gboolean zak_form_element_is_valid (ZakFormElement *element);
+GPtrArray *zak_form_element_get_messages (ZakFormElement *element);
G_END_DECLS