forked from enlightenment/efl
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
This commit is contained in:
parent
eea0e92c2c
commit
eee58425ea
|
@ -2336,6 +2336,7 @@ evas_object_text_font_source_get(const Eo *obj)
|
|||
EAPI void
|
||||
evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size)
|
||||
{
|
||||
if (!font || size <= 0) return; /*Condition for legacy object*/
|
||||
efl_text_font_set((Eo *) obj, font, size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue