summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2016-03-22 15:59:05 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-22 16:03:10 -0700
commitd30e108d7559883dc99017cbca1b75763245a81a (patch)
treeb4ad3b689df4e805209184546cfb31ea62ae0939
parent635b02a440bc0d95d4eb043e1ee4dd55181ce93b (diff)
downloadelementary-d30e108d7559883dc99017cbca1b75763245a81a.tar.gz
image: remove duplicate _elm_image_internal_sizing_eval call
Summary: When set the file to image widget, _elm_image_internal_sizing_eval is called many times. This patch will remove duplicate call. In _elm_image_sizing_eval function, elm_obj_image_scale_set will be called always, calling _elm_image_internal_sizing_eval is unnecessary. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Reviewers: Hermet, cedric Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D3730 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_image.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 73236d03f..c3025bf5d 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -804,8 +804,6 @@ _elm_image_sizing_eval(Eo *obj, Elm_Image_Data *sd)
int w = 0, h = 0;
double ts;
- _elm_image_internal_sizing_eval(obj, sd);
-
efl_image_smooth_scale_set(obj, sd->smooth);
if (sd->no_scale)