Return a ClutterBehaviour when splicing the b-spline behaviour.

This commit is contained in:
Emmanuele Bassi 2007-04-16 10:26:05 +00:00
parent 6f6950f4cc
commit 89f167eebd

View File

@ -931,7 +931,7 @@ clutter_behaviour_bspline_join (ClutterBehaviourBspline * bs1,
*
* Since: 0.4
*/
ClutterBehaviourBspline *
ClutterBehaviour *
clutter_behaviour_bspline_split (ClutterBehaviourBspline * bs, guint offset)
{
ClutterBehaviourBspline * bs2 = NULL;
@ -967,7 +967,7 @@ clutter_behaviour_bspline_split (ClutterBehaviourBspline * bs, guint offset)
g_array_set_size (bs->priv->splines, split);
return bs2;
return CLUTTER_BEHAVIOUR (bs2);
}
/**