From 89f167eebd8dc155f59660787727a62baaea5047 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 16 Apr 2007 10:26:05 +0000 Subject: [PATCH] Return a ClutterBehaviour when splicing the b-spline behaviour. --- clutter/clutter-behaviour-bspline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-behaviour-bspline.c b/clutter/clutter-behaviour-bspline.c index 6ff3e851c..6ba19e04d 100644 --- a/clutter/clutter-behaviour-bspline.c +++ b/clutter/clutter-behaviour-bspline.c @@ -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); } /**