]> saetta.ns0.it Git - zakform/gtkdecoder/commitdiff
Make public function ZakFormElement::xml_parsing. master
authorAndrea Zagli <azagli@libero.it>
Sat, 8 Jul 2017 08:10:59 +0000 (10:10 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 8 Jul 2017 08:10:59 +0000 (10:10 +0200)
src/formelementdecoder.c
src/formelementdecoder.h

index 7b9a2d73be77779eef41188cf5bbbf178dab4954..bd462aa57ea6ea06934331837a2ac8b8ec3d938e 100644 (file)
@@ -67,6 +67,7 @@ zak_form_gtk_form_element_decoder_class_init (ZakFormGtkFormElementDecoderClass
 
        elem_class->get_value = zak_form_gtk_form_element_decoder_get_value;
        elem_class->set_value = zak_form_gtk_form_element_decoder_set_value;
+       elem_class->xml_parsing = zak_form_gtk_form_element_decoder_xml_parsing;
 
        g_type_class_add_private (object_class, sizeof (ZakFormGtkFormElementDecoderPrivate));
 }
@@ -99,12 +100,10 @@ ZakFormGtkFormElement
  * @xmlnode:
  *
  */
-gboolean
+void
 zak_form_gtk_form_element_decoder_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode)
 {
        ZAK_FORM_GTK_FORM_ELEMENT_CLASS (zak_form_gtk_form_element_decoder_parent_class)->xml_parsing (element, xmlnode);
-
-       return TRUE;
 }
 
 /* PRIVATE */
index 44267aeaab0b400d2aa79caaf88f00a5ea4fcd4c..89ebdd9ac806c61198a942b5a1032efc41618fad 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -53,7 +53,7 @@ GType zak_form_gtk_form_element_decoder_get_type (void);
 
 ZakFormGtkFormElement *zak_form_gtk_form_element_decoder_new (void);
 
-gboolean zak_form_gtk_form_element_decoder_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
+void zak_form_gtk_form_element_decoder_xml_parsing (ZakFormElement *element, xmlNodePtr xmlnode);
 
 
 G_END_DECLS