mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user