use edje error stuff here to fix magic fail

SVN revision: 71937
This commit is contained in:
Mike Blumenkrantz 2012-06-11 08:36:13 +00:00
parent 3af3b01387
commit f62441abf9
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ e_icon_file_edje_set(Evas_Object *obj, const char *file, const char *part)
sd->obj = edje_object_add(evas_object_evas_get(obj));
edje_object_file_set(sd->obj, file, part);
if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
if (edje_object_load_error_get(sd->obj) != EDJE_LOAD_ERROR_NONE)
return EINA_FALSE;
if (evas_object_visible_get(obj)) evas_object_show(sd->obj);
evas_object_smart_member_add(sd->obj, obj);