edje: load - use evas_object_clipees_has instead of evas_object_clipees_get

evas_object_clipees_has is far cheaper than evas_object_clipees_get in case of checking if
clipees exist or not. This should improve the performance in case of large set of clipees.

@fix
This commit is contained in:
Amitesh Singh 2015-10-15 15:04:23 +05:30
parent 8e87e56a7c
commit 048b5f70e5
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const Eina_File *file, const ch
#ifdef EDJE_CALC_CACHE
ed->all_part_change = EINA_TRUE;
#endif
if ((evas_object_clipees_get(ed->base->clipper)) &&
if ((evas_object_clipees_has(ed->base->clipper)) &&
(evas_object_visible_get(obj)))
evas_object_show(ed->base->clipper);