From a04f6840caffbbf2301d0020b25226d435555edc Mon Sep 17 00:00:00 2001 From: hermet Date: Tue, 12 Apr 2011 11:31:03 +0000 Subject: [PATCH] elementary / transit - fixed a incorrect logic prevent user from calling elm_transit_del in the user del cb. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58591 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_transit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index fe4fa4c..d6720df 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -225,6 +225,8 @@ _elm_transit_del(Elm_Transit *transit) Elm_Transit_Effect_Module *effect_module; Elm_Transit *chain_transit; + transit->deleted = EINA_TRUE; + EINA_LIST_FOREACH_SAFE(transit->next_chain_transits, elist, elist_next, chain_transit) { if (transit->prev_chain_transit) -- 2.7.4