From c3e359a7b4ecbf4edf9082e48957542690f1e8ad Mon Sep 17 00:00:00 2001 From: hermet Date: Fri, 15 Apr 2011 17:00:37 +0000 Subject: [PATCH] elementary / transit - modified minor logic error git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@58691 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_transit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index 804de0d..db8623f 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -225,8 +225,6 @@ _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) @@ -245,6 +243,8 @@ _elm_transit_del(Elm_Transit *transit) while (transit->objs) _elm_transit_object_remove(transit, eina_list_data_get(transit->objs)); + transit->deleted = EINA_TRUE; + if (transit->del_data.func) transit->del_data.func(transit->del_data.arg, transit); -- 2.7.4