projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20cfc6
)
elementary: Reduce EO calls by using geometry_set
author
Chris Michael
<cp.michael@samsung.com>
Wed, 21 Nov 2018 15:49:14 +0000
(10:49 -0500)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 5 Dec 2018 05:30:08 +0000
(14:30 +0900)
This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
src/lib/elementary/elm_icon.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_icon.c
b/src/lib/elementary/elm_icon.c
index
92eb5bd
..
4a0165d
100644
(file)
--- a/
src/lib/elementary/elm_icon.c
+++ b/
src/lib/elementary/elm_icon.c
@@
-355,10
+355,7
@@
_elm_icon_efl_file_file_set(Eo *obj, Elm_Icon_Data *sd, const char *file, const
return EINA_FALSE;
}
- evas_object_move(id->img, id->img_x,
- id->img_y);
- evas_object_resize(id->img, id->img_w,
- id->img_h);
+ evas_object_geometry_set(id->img, id->img_x, id->img_y, id->img_w, id->img_h);
return EINA_TRUE;
}