summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2019-08-07 20:39:33 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-08-07 20:39:33 +0900
commiteee58425eae4253abe16e86718fb08afc221a1b9 (patch)
treeab433ba8d57b2fc0f19af4ac84ea7a249c3545e3
parenteea0e92c2c7b6e342aa87088e67bba1a01452a52 (diff)
evas_text: backward compatibility for setting text size
Summary: This is for backward compatibility for TIZEN Test cases for legacy Reviewers: woohyun Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9519
-rw-r--r--src/lib/evas/canvas/evas_object_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index 1f8f340f89..1a97af9f4c 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -2336,6 +2336,7 @@ evas_object_text_font_source_get(const Eo *obj)
2336EAPI void 2336EAPI void
2337evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size) 2337evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size)
2338{ 2338{
2339 if (!font || size <= 0) return; /*Condition for legacy object*/
2339 efl_text_font_set((Eo *) obj, font, size); 2340 efl_text_font_set((Eo *) obj, font, size);
2340} 2341}
2341 2342