elementary / transit - fixed a incorrect logic
authorChunEon Park <hermet@hermet.pe.kr>
Tue, 12 Apr 2011 11:31:03 +0000 (11:31 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 12 Apr 2011 11:31:03 +0000 (11:31 +0000)
prevent user from calling elm_transit_del in the user del cb.

SVN revision: 58591

src/lib/elm_transit.c

index fe4fa4c..d6720df 100644 (file)
@@ -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)