e e_icon.c: also return false on null icon.

SVN revision: 80598
This commit is contained in:
Daniel Juyung Seo 2012-12-10 11:33:45 +00:00
parent 214c57e210
commit 206acb6eb6
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ e_icon_fdo_icon_set(Evas_Object *obj, const char *icon)
const char *path;
int len;
if (!icon) return EINA_TRUE;
if (!icon) return EINA_FALSE;
if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERR(0);
if (icon[0] == '/') return e_icon_file_set(obj, icon);