From f0d33912feafddf89dfb48523b59c4b7b10a5f94 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 8 Jul 2017 10:10:59 +0200 Subject: [PATCH] Make public function ZakFormElement::xml_parsing. --- src/formelementdecoder.c | 5 ++--- src/formelementdecoder.h | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) 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 -- 2.49.0