Do not forget to initialise the priv pointer

This commit is contained in:
Emmanuele Bassi 2007-07-26 13:13:19 +00:00
parent c1e84a8f3a
commit 7c29e3edbe

View File

@ -905,6 +905,8 @@ clutter_behaviour_bspline_join (ClutterBehaviourBspline *bs1,
clutter_behaviour_bspline_get_origin (bs2, &knot);
priv = bs1->priv;
b = g_array_index (priv->splines, ClutterBezier*, priv->splines->len - 1);
x_1 = clutter_bezier_t2x (b, CBZ_T_ONE);