actor: Add debug annotation in add_transition()
This commit is contained in:
parent
1ef85372cc
commit
b074db869c
@ -17338,6 +17338,12 @@ clutter_actor_add_transition (ClutterActor *self,
|
|||||||
G_CALLBACK (on_transition_completed),
|
G_CALLBACK (on_transition_completed),
|
||||||
clos);
|
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);
|
g_hash_table_insert (info->transitions, clos->name, clos);
|
||||||
clutter_timeline_start (timeline);
|
clutter_timeline_start (timeline);
|
||||||
}
|
}
|
||||||
@ -17610,7 +17616,6 @@ clutter_actor_get_transition (ClutterActor *self,
|
|||||||
g_return_val_if_fail (name != NULL, NULL);
|
g_return_val_if_fail (name != NULL, NULL);
|
||||||
|
|
||||||
info = _clutter_actor_get_animation_info_or_defaults (self);
|
info = _clutter_actor_get_animation_info_or_defaults (self);
|
||||||
|
|
||||||
if (info->transitions == NULL)
|
if (info->transitions == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user