summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_format.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-07 13:28:01 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-07 17:13:44 +0900
commitd6c9b37925554de261b1f4a07df72bf83f68c302 (patch)
treea31270085c5e3a2e081d4ef080949b5c3208db70 /src/lib/efl/interfaces/efl_ui_format.c
parent80b0ef75374e0cd0c9b6aa657cbf3e819065da5f (diff)
Efl.Ui.Slider: implement Slider.part & Ui.format functions
indicator_format_set/get & indicator_format_function_set are now legacy APIs. indicator format can be set by using generic Ui.Format function e.g. efl_ui_format_string_set(efl_part(sliderObj, "indicator"), "1.0%f");
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c
index 6cb64f3913..c0dd9d6b42 100644
--- a/src/lib/efl/interfaces/efl_ui_format.c
+++ b/src/lib/efl/interfaces/efl_ui_format.c
@@ -38,7 +38,7 @@ _default_format_free_cb(void *data)
38{ 38{
39 Efl_Ui_Format_Data *sd = data; 39 Efl_Ui_Format_Data *sd = data;
40 40
41 if (sd->template) 41 if (sd && sd->template)
42 { 42 {
43 eina_stringshare_del(sd->template); 43 eina_stringshare_del(sd->template);
44 sd->template = NULL; 44 sd->template = NULL;