summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-25 16:48:21 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-25 16:48:21 +0100
commitdfa3dfdb1abd083510f285bb4b12190dd7eddc65 (patch)
treeba432a6ff8f9710bd02d01f414827ccf492f98de
parent75176a789981bd6b1ef0bfcc95793c896b5bde07 (diff)
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
-rw-r--r--src/lib/elm_icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 284f1c947..0b79a4222 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -52,7 +52,7 @@ _icon_size_min_get(Evas_Object *icon)
52{ 52{
53 int size; 53 int size;
54 54
55 evas_object_size_hint_min_get(icon, &size, NULL); 55 elm_image_object_size_get(icon, &size, NULL);
56 56
57 return (size < 16) ? 16 : size; 57 return (size < 16) ? 16 : size;
58} 58}