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:
8e87e56
)
edje: load - use evas_object_clipees_has instead of evas_object_clipees_get
author
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 15 Oct 2015 09:34:23 +0000
(15:04 +0530)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 15 Oct 2015 09:34:23 +0000
(15:04 +0530)
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
src/lib/edje/edje_load.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_load.c
b/src/lib/edje/edje_load.c
index
13ad301
..
f79072c
100644
(file)
--- a/
src/lib/edje/edje_load.c
+++ b/
src/lib/edje/edje_load.c
@@
-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);