Edje edit: Fix wrong return value type.

This commit is contained in:
Tom Hacohen 2016-02-29 11:50:52 +00:00
parent e71e6561ee
commit 02b0c5878d
1 changed files with 2 additions and 2 deletions

View File

@ -7641,10 +7641,10 @@ edje_edit_text_class_font_get(Evas_Object *obj, const char *class_name)
Eina_List *l;
Edje_Text_Class *tc;
GET_ED_OR_RETURN(EINA_FALSE);
GET_ED_OR_RETURN(NULL);
if (!ed->file || !ed->file->text_classes)
return EINA_FALSE;
return NULL;
EINA_LIST_FOREACH(ed->file->text_classes, l, tc)
if (!strcmp(tc->name, class_name))