Summary: change ELM_ENTRY_DATA_GET to ELM_ENTRY_DATA_GET_OR_RETURN_VAL
Test Plan: elm_entry_file_set(NULL, ~~~);
Reviewers: YOhoho, Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8544
Change-Id: I728a485db981b8c54a03476d1daee1e0c8c246bb
EAPI Eina_Bool
elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format)
{
- Eina_Bool ret;
- ELM_ENTRY_DATA_GET(obj, sd);
+ Eina_Bool ret = EINA_FALSE;
+ ELM_ENTRY_DATA_GET_OR_RETURN_VAL(obj, sd, ret);
ELM_SAFE_FREE(sd->delay_write, ecore_timer_del);
if (sd->auto_save) _save_do(obj);
elm_obj_entry_file_text_format_set(obj, format);