mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
clutter/actor: Remove unused private function
`_clutter_actor_get_transition` is almost identical to
`clutter_actor_get_transition` and isn't used anywhere in the code (we
stopped using it with ee00e37b
), remove it!
https://gitlab.gnome.org/GNOME/mutter/merge_requests/791
This commit is contained in:
parent
f92e0bec0b
commit
ab7af2d0c5
@ -242,9 +242,6 @@ ClutterAnimationInfo * _clutter_actor_get_animation_info
|
||||
ClutterTransition * _clutter_actor_create_transition (ClutterActor *self,
|
||||
GParamSpec *pspec,
|
||||
...);
|
||||
ClutterTransition * _clutter_actor_get_transition (ClutterActor *self,
|
||||
GParamSpec *pspec);
|
||||
|
||||
gboolean _clutter_actor_foreach_child (ClutterActor *self,
|
||||
ClutterForeachCallback callback,
|
||||
gpointer user_data);
|
||||
|
@ -19466,20 +19466,6 @@ _clutter_actor_get_animation_info (ClutterActor *self)
|
||||
return res;
|
||||
}
|
||||
|
||||
ClutterTransition *
|
||||
_clutter_actor_get_transition (ClutterActor *actor,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
const ClutterAnimationInfo *info;
|
||||
|
||||
info = _clutter_actor_get_animation_info_or_defaults (actor);
|
||||
|
||||
if (info->transitions == NULL)
|
||||
return NULL;
|
||||
|
||||
return g_hash_table_lookup (info->transitions, pspec->name);
|
||||
}
|
||||
|
||||
static void
|
||||
transition_closure_free (gpointer data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user