2006-11-15 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-alpha.h:
	* clutter/clutter-alpha.c: Add a data parameter to
	the ClutterAlphaFunc; add a data+destroy parameter
	to clutter_alpha_set_func() and to clutter_alpha_new(),
	and turned the latter into clutter_alpha_new_full();
	add a simple, empty constructor clutter_alpha_new().

	These changes makes writing bindings a tad more easy,
	as bindings require passing their own functions in
	order to call the real alpha function.

	* clutter/clutter-behaviour.h: Clean up the header.

	* clutter/clutter-behaviours.[ch]:
	* clutter/clutter-behaviour-opacity.[ch]:
	* clutter/clutter-behaviour-path.[ch]:
	* clutter/clutter-behaviour-scale.[ch]: Split the
	ClutterBehaviourPath, ClutterBehaviourOpacity and
	ClutterBehaviourScale into their own files as they
	have been growing a bit. Fix ClutterBehaviourPath
	API.

	* clutter/clutter-media.h: Remove the commented
	"metadata_available" signal: gtk-doc chokes up on that.

	* clutter/clutter-timeline.h:
	* clutter/clutter-timeline.c: Remove the useless
	ClutterTimelineAlphaFunc signature; add missing accessor
	methods for the properties; clean up a bit.

	* clutter/clutter-util.h:
	* clutter/clutter-util.c: Remove unneeded function
	clutter_util_can_create_texture().

	* clutter/clutter-feature.h: Sync the name of
	clutter_feature_get_all() with the name declared
	in clutter-feature.h.

	* clutter/Makefile.am:
	* clutter/clutter.h: Update.

	* examples/behave.c: Update to the new ClutterAlpha
	constructor.

	* examples/super-oh.c: Use the right pointer and avoid
	the compiler making a fuss about it.
This commit is contained in:
Emmanuele Bassi
2006-11-15 23:37:53 +00:00
parent 5ca4d3718d
commit 734f808fbc
39 changed files with 2248 additions and 1412 deletions

View File

@ -277,7 +277,7 @@ clutter_feature_available (ClutterFeatureFlags feature)
}
/**
* clutter_feature_all:
* clutter_feature_get_all:
*
* Returns all the suppoerted features.
*
@ -286,7 +286,7 @@ clutter_feature_available (ClutterFeatureFlags feature)
* Since: 0.1.1
*/
ClutterFeatureFlags
clutter_feature_all (void)
clutter_feature_get_all (void)
{
return __features->flags;
}