From ee97b932b0ca197c94581ca45ec77a7d8f077932 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 15 May 2016 10:31:48 +0200 Subject: [PATCH] Published function ZakFormElement::format. --- src/formelement.c | 2 +- src/formelement.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/formelement.c b/src/formelement.c index afa6b53..5f2b4f2 100644 --- a/src/formelement.c +++ b/src/formelement.c @@ -413,7 +413,7 @@ gchar return ret; } -static gchar +gchar *zak_form_element_format (ZakFormElement *element, const gchar *value) { gchar *ret; diff --git a/src/formelement.h b/src/formelement.h index 2c17cf6..16e425f 100644 --- a/src/formelement.h +++ b/src/formelement.h @@ -62,6 +62,8 @@ gboolean zak_form_element_get_is_key (ZakFormElement *element); void zak_form_element_set_provider_type (ZakFormElement *element, const gchar *type); gchar *zak_form_element_get_provider_type (ZakFormElement *element); +gchar *zak_form_element_format (ZakFormElement *element, const gchar *value); + gboolean zak_form_element_set_value (ZakFormElement *element, const gchar *value); gchar *zak_form_element_get_value (ZakFormElement *element); -- 2.49.0