ELM_TRANSIT_CHECK_OR_RETURN(transit, NULL);
Elm_Transit_Effect *effect = _transit_effect_blend_context_new();
- if (!effect) return NULL;
+ if (!effect)
+ {
+ ERR("Failed to allocate blend effect! : transit=%p", transit);
+ return NULL;
+ }
elm_transit_effect_add(transit,
_transit_effect_blend_op, effect,
_transit_effect_blend_context_free);
ELM_TRANSIT_CHECK_OR_RETURN(transit, NULL);
Elm_Transit_Effect *effect = _transit_effect_rotation_context_new(from_degree, to_degree);
- if (!effect) return NULL;
+ if (!effect)
+ {
+ ERR("Failed to allocate rotation effect! : transit=%p", transit);
+ return NULL;
+ }
elm_transit_effect_add(transit,
_transit_effect_rotation_op, effect,
_transit_effect_rotation_context_free);