* clutter/clutter-behaviour-bspline.[ch]:

Replaced clutter_behaviour_bspline_append with
clutter_behaviour_bspline_append_knots. Fixes bug #582.
* clutter/clutter-deprecated.h: added deprecation macro reflecting the
API change.
This commit is contained in:
Øyvind Kolås 2007-11-13 14:12:51 +00:00
parent 99370d1e0c
commit e4deda095c
4 changed files with 36 additions and 27 deletions

View File

@ -1,3 +1,11 @@
2007-11-13 Øyvind Kolås <pippin@o-hand.com>
* clutter/clutter-behaviour-bspline.[ch]:
Replaced clutter_behaviour_bspline_append with
clutter_behaviour_bspline_append_knots. Fixes bug #582.
* clutter/clutter-deprecated.h: added deprecation macro reflecting the
API change.
2007-11-13 Øyvind Kolås <pippin@o-hand.com> 2007-11-13 Øyvind Kolås <pippin@o-hand.com>
* clutter/Makefile.am: * clutter/Makefile.am:

View File

@ -860,7 +860,7 @@ clutter_behaviour_bspline_append_knots_valist (ClutterBehaviourBspline *bs,
} }
/** /**
* clutter_behaviour_bspline_append: * clutter_behaviour_bspline_append_knots
* @bs: a #ClutterBehaviourBspline * @bs: a #ClutterBehaviourBspline
* @first_knot: first #ClutterKnot * @first_knot: first #ClutterKnot
* @VarArgs: a NULL-terminated array of #ClutterKnot control points. * @VarArgs: a NULL-terminated array of #ClutterKnot control points.
@ -869,10 +869,10 @@ clutter_behaviour_bspline_append_knots_valist (ClutterBehaviourBspline *bs,
* bs and the array of #ClutterKnot control points to the orginal bezier spline * bs and the array of #ClutterKnot control points to the orginal bezier spline
* bs. * bs.
* *
* Since: 0.4 * Since: 0.6
*/ */
void void
clutter_behaviour_bspline_append (ClutterBehaviourBspline * bs, clutter_behaviour_bspline_append_knots (ClutterBehaviourBspline * bs,
const ClutterKnot * first_knot, const ClutterKnot * first_knot,
...) ...)
{ {

View File

@ -84,7 +84,7 @@ ClutterBehaviour *clutter_behaviour_bspline_new (ClutterAlpha
guint n_knots); guint n_knots);
void clutter_behaviour_bspline_append_knot (ClutterBehaviourBspline *bs, void clutter_behaviour_bspline_append_knot (ClutterBehaviourBspline *bs,
const ClutterKnot *knot); const ClutterKnot *knot);
void clutter_behaviour_bspline_append (ClutterBehaviourBspline *bs, void clutter_behaviour_bspline_append_knots (ClutterBehaviourBspline *bs,
const ClutterKnot *first_knot, const ClutterKnot *first_knot,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
void clutter_behaviour_bspline_truncate (ClutterBehaviourBspline *bs, void clutter_behaviour_bspline_truncate (ClutterBehaviourBspline *bs,

View File

@ -15,5 +15,6 @@
#define clutter_behaviour_ellipse_set_angle_beginx cairo_behaviour_ellipse_set_angle_beginx_REPLACED_BY_clutter_behaviour_set_angle_startx #define clutter_behaviour_ellipse_set_angle_beginx cairo_behaviour_ellipse_set_angle_beginx_REPLACED_BY_clutter_behaviour_set_angle_startx
#define clutter_behaviour_ellipse_get_angle_begin cairo_behaviour_ellipse_get_angle_begin_REPLACED_BY_clutter_behaviour_get_angle_start #define clutter_behaviour_ellipse_get_angle_begin cairo_behaviour_ellipse_get_angle_begin_REPLACED_BY_clutter_behaviour_get_angle_start
#define clutter_behaviour_ellipse_get_angle_beginx cairo_behaviour_ellipse_get_angle_beginx_REPLACED_BY_clutter_behaviour_get_angle_startx #define clutter_behaviour_ellipse_get_angle_beginx cairo_behaviour_ellipse_get_angle_beginx_REPLACED_BY_clutter_behaviour_get_angle_startx
#define clutter_behaviour_bspline_append clutter_behaviour_bspline_append_REPLACED_BY_clutter_behaviour_bspline_append_knots
#endif /* CLUTTER_DEPRECATED_H */ #endif /* CLUTTER_DEPRECATED_H */