summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-10-15 15:04:23 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-10-15 15:04:23 +0530
commit048b5f70e5d5324d6b3966a4ce59af79afa5504b (patch)
tree227415e5baf335aa0a2f4ee9713e7ca7c3e0b15d /src
parent8e87e56a7cdb28bad1251435e0f2085ca08b9411 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 13ad301..f79072c 100644
--- 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
950#ifdef EDJE_CALC_CACHE 950#ifdef EDJE_CALC_CACHE
951 ed->all_part_change = EINA_TRUE; 951 ed->all_part_change = EINA_TRUE;
952#endif 952#endif
953 if ((evas_object_clipees_get(ed->base->clipper)) && 953 if ((evas_object_clipees_has(ed->base->clipper)) &&
954 (evas_object_visible_get(obj))) 954 (evas_object_visible_get(obj)))
955 evas_object_show(ed->base->clipper); 955 evas_object_show(ed->base->clipper);
956 956