diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-10-14 15:54:41 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-10-14 16:18:37 -0700 |
commit | 229106963ab185c7f6144d82f2b6f895ad409616 (patch) | |
tree | 0158ec2ada7236e10606673efc108f5eb7467bf5 | |
parent | 535076f42587c1e66938ddb862a356ebffd79676 (diff) | |
download | efl-229106963ab185c7f6144d82f2b6f895ad409616.tar.gz |
evas: no need to compute clippees list if we just want to know if there is any.
This is a partial fix for a terrible performance scenario where application take
forever to close with a large number of edje object.
@fix
-rw-r--r-- | src/lib/evas/canvas/evas_object_smart_clipped.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart_clipped.c b/src/lib/evas/canvas/evas_object_smart_clipped.c index 74720449b2..6d4effd2d8 100644 --- a/src/lib/evas/canvas/evas_object_smart_clipped.c +++ b/src/lib/evas/canvas/evas_object_smart_clipped.c @@ -206,7 +206,7 @@ evas_object_smart_clipped_smart_member_del(Evas_Object *eo_obj, Evas_Object *mem if (!cso->clipper) return; evas_object_clip_unset(member); - if (!evas_object_clipees_get(cso->clipper)) + if (!evas_object_clipees_has(cso->clipper)) evas_object_hide(cso->clipper); } |