From: hermet Date: Fri, 15 Apr 2011 17:00:37 +0000 (+0000) Subject: elementary / transit - modified minor logic error X-Git-Tag: REL_F_I9500_20120323_1~17^2~2895 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99facf17686aa01e01775dce8d07ad48785541f9;p=framework%2Fuifw%2Felementary.git elementary / transit - modified minor logic error git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58691 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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);