clutter/actor: Use autopointer for GStrv everywhere
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4071>
This commit is contained in:
parent
1985d9ccdd
commit
101126176a
1 changed files with 1 additions and 4 deletions
|
@ -12072,7 +12072,7 @@ get_meta_from_animation_property (ClutterActor *actor,
|
||||||
{
|
{
|
||||||
ClutterActorPrivate *priv = actor->priv;
|
ClutterActorPrivate *priv = actor->priv;
|
||||||
ClutterActorMeta *meta = NULL;
|
ClutterActorMeta *meta = NULL;
|
||||||
gchar **tokens;
|
g_auto (GStrv) tokens = NULL;
|
||||||
|
|
||||||
/* if this is not a special property, fall through */
|
/* if this is not a special property, fall through */
|
||||||
if (name[0] != '@')
|
if (name[0] != '@')
|
||||||
|
@ -12096,7 +12096,6 @@ get_meta_from_animation_property (ClutterActor *actor,
|
||||||
{
|
{
|
||||||
CLUTTER_NOTE (ANIMATION, "Invalid property name '%s'",
|
CLUTTER_NOTE (ANIMATION, "Invalid property name '%s'",
|
||||||
name + 1);
|
name + 1);
|
||||||
g_strfreev (tokens);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12118,8 +12117,6 @@ get_meta_from_animation_property (ClutterActor *actor,
|
||||||
tokens[1],
|
tokens[1],
|
||||||
tokens[0]);
|
tokens[0]);
|
||||||
|
|
||||||
g_strfreev (tokens);
|
|
||||||
|
|
||||||
return meta;
|
return meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue