forked from enlightenment/efl
test_explode: use evas_object_clipees_has instead
fixes memory leak and better performance
This commit is contained in:
parent
56400822f0
commit
c86b0c08c4
|
@ -88,7 +88,7 @@ explode_obj(Evas_Object *obj, int n)
|
||||||
EINA_LIST_FREE(children, o)
|
EINA_LIST_FREE(children, o)
|
||||||
{
|
{
|
||||||
if (!evas_object_visible_get(o)) continue;
|
if (!evas_object_visible_get(o)) continue;
|
||||||
if (evas_object_clipees_get(o)) continue;
|
if (evas_object_clipees_has(o)) continue;
|
||||||
|
|
||||||
n = explode_obj(o, n);
|
n = explode_obj(o, n);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue