e17:e_util_icon_theme_icon_add return icon of requested size when possible

SVN revision: 62517
This commit is contained in:
Hannes Janetzek 2011-08-16 22:47:48 +00:00
parent 8f08feceab
commit c3595e9d2b
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ EAPI Evas_Object *
e_util_icon_theme_icon_add(const char *icon_name, unsigned int size, Evas *evas)
{
if (!icon_name) return NULL;
if (icon_name[0] == '/') return e_util_icon_add(icon_name, evas);
if (icon_name[0] == '/') return _e_util_icon_add(icon_name, evas, size);
else
{
Evas_Object *obj;