elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather than calling move & resize.
This commit is contained in:
parent
0f00fa0777
commit
a61b5c380b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue