From: Andrea Zagli Date: Sat, 8 Jul 2017 08:10:59 +0000 (+0200) Subject: Make public function ZakFormElement::xml_parsing. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=HEAD;p=zakform%2Fgtkdecoder Make public function ZakFormElement::xml_parsing. --- diff --git a/src/formelementdecoder.c b/src/formelementdecoder.c index 7b9a2d7..bd462aa 100644 --- a/src/formelementdecoder.c +++ b/src/formelementdecoder.c @@ -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 */ diff --git a/src/formelementdecoder.h b/src/formelementdecoder.h index 44267ae..89ebdd9 100644 --- a/src/formelementdecoder.h +++ b/src/formelementdecoder.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Andrea Zagli + * Copyright (C) 2015-2017 Andrea Zagli * * 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