Edje edit: Fix wrong return value type.
authorTom Hacohen <tom@stosb.com>
Mon, 29 Feb 2016 11:50:52 +0000 (11:50 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 29 Feb 2016 11:50:52 +0000 (11:50 +0000)
src/lib/edje/edje_edit.c

index 1aaac03..8bacc49 100644 (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))