Revert "Icon: use size_hint_min instead of image_size to know the wanted size"

This reverts commit 75176a789981bd6b1ef0bfcc95793c896b5bde07.

Was not the correct solution, as min_size can be smaller than
the real wanted size. Need to find another solution.

Thanks TAsn to spot this
This commit is contained in:
Davide Andreoli 2015-01-25 16:48:21 +01:00
parent 115037b221
commit 38daa7553f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ _icon_size_min_get(Evas_Object *icon)
{
int size;
evas_object_size_hint_min_get(icon, &size, NULL);
elm_image_object_size_get(icon, &size, NULL);
return (size < 16) ? 16 : size;
}