elementary/transit - added missed wrn messages.

SVN revision: 60930
This commit is contained in:
ChunEon Park 2011-07-02 05:58:56 +00:00
parent ea50a38be2
commit f73d2e602e
1 changed files with 10 additions and 2 deletions

View File

@ -2055,7 +2055,11 @@ elm_transit_effect_blend_add(Elm_Transit *transit)
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);
@ -2134,7 +2138,11 @@ elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float t
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);