Return a ClutterBehaviour when splicing the b-spline behaviour.
This commit is contained in:
parent
6f6950f4cc
commit
89f167eebd
@ -931,7 +931,7 @@ clutter_behaviour_bspline_join (ClutterBehaviourBspline * bs1,
|
|||||||
*
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*/
|
*/
|
||||||
ClutterBehaviourBspline *
|
ClutterBehaviour *
|
||||||
clutter_behaviour_bspline_split (ClutterBehaviourBspline * bs, guint offset)
|
clutter_behaviour_bspline_split (ClutterBehaviourBspline * bs, guint offset)
|
||||||
{
|
{
|
||||||
ClutterBehaviourBspline * bs2 = NULL;
|
ClutterBehaviourBspline * bs2 = NULL;
|
||||||
@ -967,7 +967,7 @@ clutter_behaviour_bspline_split (ClutterBehaviourBspline * bs, guint offset)
|
|||||||
|
|
||||||
g_array_set_size (bs->priv->splines, split);
|
g_array_set_size (bs->priv->splines, split);
|
||||||
|
|
||||||
return bs2;
|
return CLUTTER_BEHAVIOUR (bs2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user