2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-group.h: Add public functions
	clutter_group_get_n_children() and clutter_group_get_nth_child().

	* clutter/clutter-behaviour.h:
	* clutter/clutter-behaviour.c: Fix header alignment; fix argument
	name for apidoc.
This commit is contained in:
Emmanuele Bassi
2007-01-18 12:33:15 +00:00
parent bf688bbbeb
commit 39720f248b
6 changed files with 25 additions and 17 deletions

View File

@ -265,7 +265,7 @@ clutter_behaviour_get_n_actors (ClutterBehaviour *behave)
/**
* clutter_behaviour_get_nth_actor:
* @behave: a #ClutterBehaviour
* @num: the index of an actor this behaviour is applied too.
* @index: the index of an actor this behaviour is applied too.
*
* Gets an actor the behaviour was applied to referenced by index num.
*
@ -275,11 +275,11 @@ clutter_behaviour_get_n_actors (ClutterBehaviour *behave)
*/
ClutterActor*
clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
gint num)
gint index)
{
g_return_val_if_fail (CLUTTER_IS_BEHAVIOUR (behave), NULL);
return g_slist_nth_data (behave->priv->actors, num);
return g_slist_nth_data (behave->priv->actors, index);
}