edje: fix lifecycle of swallowed children
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 29 May 2018 04:38:40 +0000 (21:38 -0700)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 05:17:53 +0000 (14:17 +0900)
commitc48faacd3f5fa636140b369a3c2a8974370dd04b
tree978ade8bc717e514d96d7f74b6cd5ec31a334575
parentd9f942c07e8b5fa280a437601f58f052f4001ab9
edje: fix lifecycle of swallowed children

Summary:
a swallowed child is per doc not deleted when the edje is deleted.
After the call to invalidate is finished all children will loose theire
parents and also be invalidated. However, in the efl_invalidate call,
the event EVAS_CALLBACK_DEL is issued, so this is the right spot. As in
legacy the swallows are in place when the EVAS_CALLBACK_DEL event is
issued.

Reviewers: cedric, raster, JackDanielZ, zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6222

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
src/lib/edje/edje_smart.c