projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75176a7
)
Revert "Icon: use size_hint_min instead of image_size to know the wanted size"
author
Dave Andreoli
<dave@gurumeditation.it>
Sun, 25 Jan 2015 15:48:21 +0000
(16:48 +0100)
committer
Dave Andreoli
<dave@gurumeditation.it>
Sun, 25 Jan 2015 15:48:21 +0000
(16:48 +0100)
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
patch
|
blob
|
history
diff --git
a/src/lib/elm_icon.c
b/src/lib/elm_icon.c
index 284f1c94720a2aa93195647371dbbe43d966d48e..0b79a4222d608ac88df64995178b5c6bb2063876 100644
(file)
--- 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;
- e
vas_object_size_hint_min
_get(icon, &size, NULL);
+ e
lm_image_object_size
_get(icon, &size, NULL);
return (size < 16) ? 16 : size;
}