summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-20 08:53:20 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-20 08:53:20 +0900
commitabe88a8016b674f37126507c30afe3255a98baaf (patch)
tree516b2e5ca63de4cb3a9f1647829d1e467fdafebf /src
parent34b92db240be3d74f3b8edd87d8fa175f607378c (diff)
elementary/transit - fix the T511 "_transit_auto_reverse_get() Elm_Transit transit has already been deleted"
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_transit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c
index c54df586f..d82f5b472 100644
--- a/src/lib/elm_transit.c
+++ b/src/lib/elm_transit.c
@@ -1730,7 +1730,7 @@ _transit_effect_wipe_context_free(Elm_Transit_Effect *effect, Elm_Transit *trans
1730 Eina_List *elist; 1730 Eina_List *elist;
1731 Evas_Object *obj; 1731 Evas_Object *obj;
1732 Elm_Transit_Effect_Wipe *wipe = effect; 1732 Elm_Transit_Effect_Wipe *wipe = effect;
1733 Eina_Bool reverse = elm_transit_auto_reverse_get(transit); 1733 Eina_Bool reverse = transit->auto_reverse;
1734 1734
1735 EINA_LIST_FOREACH(transit->objs, elist, obj) 1735 EINA_LIST_FOREACH(transit->objs, elist, obj)
1736 { 1736 {
@@ -2166,7 +2166,7 @@ _blend_nodes_build(Elm_Transit *transit, Elm_Transit_Effect_Blend *blend)
2166} 2166}
2167 2167
2168void 2168void
2169_transit_effect_blend_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__) 2169_transit_effect_blend_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit)
2170{ 2170{
2171 EINA_SAFETY_ON_NULL_RETURN(effect); 2171 EINA_SAFETY_ON_NULL_RETURN(effect);
2172 Elm_Transit_Effect_Blend *blend = effect; 2172 Elm_Transit_Effect_Blend *blend = effect;
@@ -2182,7 +2182,7 @@ _transit_effect_blend_context_free(Elm_Transit_Effect *effect, Elm_Transit *tran
2182 blend_node->to.g, blend_node->to.b, 2182 blend_node->to.g, blend_node->to.b,
2183 blend_node->to.a); 2183 blend_node->to.a);
2184 2184
2185 if (elm_transit_auto_reverse_get(transit)) 2185 if (transit->auto_reverse)
2186 evas_object_hide(blend_node->after); 2186 evas_object_hide(blend_node->after);
2187 else 2187 else
2188 evas_object_hide(blend_node->before); 2188 evas_object_hide(blend_node->before);