davemds pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=dfa3dfdb1abd083510f285bb4b12190dd7eddc65

commit dfa3dfdb1abd083510f285bb4b12190dd7eddc65
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Sun Jan 25 16:48:21 2015 +0100

    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
---
 src/lib/elm_icon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 284f1c9..0b79a42 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -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;
 }

-- 


Reply via email to