ZakFormGtkFormElementPrivate *priv = ZAK_FORM_GTK_FORM_ELEMENT_GET_PRIVATE ((ZakFormGtkFormElement *)element);
- ZAK_FORM_ELEMENT_GET_CLASS (element)->xml_parsing (element, xmlnode);
-
cur = xmlnode->children;
while (cur != NULL)
{
elem_class->get_value = zak_form_gtk_form_element_check_get_value;
elem_class->set_value = zak_form_gtk_form_element_check_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_check_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementCheckPrivate));
}
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_check_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_check_parent_class)->xml_parsing (element, xmlnode);
-
- return TRUE;
}
/* PRIVATE */
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_check_new (void);
-gboolean zak_form_gtk_form_element_check_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_check_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
G_END_DECLS
elem_class->get_value = zak_form_gtk_form_element_combo_get_value;
elem_class->set_value = zak_form_gtk_form_element_combo_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_combo_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementComboPrivate));
g_object_class_install_property (object_class, PROP_COLUMN_FIELD,
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_combo_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
xmlNode *cur;
cur = cur->next;
}
-
- return TRUE;
}
/**
/*
- * Copyright (C) 2016 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2016-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_combo_new (void);
-gboolean zak_form_gtk_form_element_combo_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_combo_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
void zak_form_gtk_form_element_combo_set_column_field (ZakFormGtkFormElementCombo *element, guint column_field);
guint zak_form_gtk_form_element_combo_get_column_field (ZakFormGtkFormElementCombo *element);
elem_class->get_value = zak_form_gtk_form_element_entry_get_value;
elem_class->set_value = zak_form_gtk_form_element_entry_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_entry_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementEntryPrivate));
}
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_entry_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_entry_parent_class)->xml_parsing (element, xmlnode);
-
- return TRUE;
}
/* PRIVATE */
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_entry_new (void);
-gboolean zak_form_gtk_form_element_entry_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_entry_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
G_END_DECLS
elem_class->get_value = zak_form_gtk_form_element_label_get_value;
elem_class->set_value = zak_form_gtk_form_element_label_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_label_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementLabelPrivate));
}
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_label_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_label_parent_class)->xml_parsing (element, xmlnode);
-
- return TRUE;
}
/* PRIVATE */
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_label_new (void);
-gboolean zak_form_gtk_form_element_label_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_label_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
G_END_DECLS
elem_class->get_value = zak_form_gtk_form_element_radio_get_value;
elem_class->set_value = zak_form_gtk_form_element_radio_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_radio_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementRadioPrivate));
g_object_class_install_property (object_class, PROP_RETURN_VALUE,
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_radio_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
xmlNode *cur;
cur = cur->next;
}
-
- return TRUE;
}
/**
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_radio_new (void);
-gboolean zak_form_gtk_form_element_radio_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_radio_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
void zak_form_gtk_form_element_radio_set_return_value (ZakFormGtkFormElementRadio *element, const gchar *value);
gchar *zak_form_gtk_form_element_radio_get_return_value (ZakFormGtkFormElementRadio *element);
elem_class->get_value = zak_form_gtk_form_element_spin_get_value;
elem_class->set_value = zak_form_gtk_form_element_spin_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_spin_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementSpinPrivate));
}
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_spin_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_spin_parent_class)->xml_parsing (element, xmlnode);
-
- return TRUE;
}
/* PRIVATE */
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_spin_new (void);
-gboolean zak_form_gtk_form_element_spin_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_spin_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
G_END_DECLS
elem_class->get_value = zak_form_gtk_form_element_textview_get_value;
elem_class->set_value = zak_form_gtk_form_element_textview_set_value;
+ elem_class->xml_parsing = zak_form_gtk_form_element_textview_xml_parsing;
+
g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementTextviewPrivate));
}
* @xmlnode:
*
*/
-gboolean
+void
zak_form_gtk_form_element_textview_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
{
ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_textview_parent_class)->xml_parsing (element, xmlnode);
-
- return TRUE;
}
/* PRIVATE */
/*
- * Copyright (C) 2015 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
ZakFormGtkFormElement *zak_form_gtk_form_element_textview_new (void);
-gboolean zak_form_gtk_form_element_textview_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_textview_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
G_END_DECLS