actor: Add debug annotation in add_transition()

This commit is contained in:
Emmanuele Bassi 2012-03-26 18:34:15 +01:00
parent 1ef85372cc
commit b074db869c

View File

@ -17338,6 +17338,12 @@ clutter_actor_add_transition (ClutterActor *self,
G_CALLBACK (on_transition_completed),
clos);
CLUTTER_NOTE (ANIMATION,
"Adding transition '%s' [%p] to actor '%s'",
clos->name,
clos->transition,
_clutter_actor_get_debug_name (self));
g_hash_table_insert (info->transitions, clos->name, clos);
clutter_timeline_start (timeline);
}
@ -17610,7 +17616,6 @@ clutter_actor_get_transition (ClutterActor *self,
g_return_val_if_fail (name != NULL, NULL);
info = _clutter_actor_get_animation_info_or_defaults (self);
if (info->transitions == NULL)
return NULL;