2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-behaviour.h:
	* clutter/clutter-behaviour.c: Rename clutter_behaviour_clear()
	to clutter_behaviour_remove_all() to avoid method clashes in
	bindings.
This commit is contained in:
Emmanuele Bassi 2007-07-25 13:12:24 +00:00
parent bf4e85d8e0
commit 06c5bf1199
5 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour.h:
* clutter/clutter-behaviour.c: Rename clutter_behaviour_clear()
to clutter_behaviour_remove_all() to avoid method clashes in
bindings.
2007-07-25 Tomas Frydrych <tf@openedhand.com> 2007-07-25 Tomas Frydrych <tf@openedhand.com>
* tests/test-rotate.c: * tests/test-rotate.c:

View File

@ -176,7 +176,7 @@ clutter_behaviour_dispose (GObject *gobject)
ClutterBehaviour *self = CLUTTER_BEHAVIOUR (gobject); ClutterBehaviour *self = CLUTTER_BEHAVIOUR (gobject);
clutter_behaviour_set_alpha (self, NULL); clutter_behaviour_set_alpha (self, NULL);
clutter_behaviour_clear (self); clutter_behaviour_remove_all (self);
G_OBJECT_CLASS (clutter_behaviour_parent_class)->dispose (gobject); G_OBJECT_CLASS (clutter_behaviour_parent_class)->dispose (gobject);
} }
@ -599,7 +599,7 @@ clutter_behaviour_get_actors (ClutterBehaviour *behave)
} }
/** /**
* clutter_behaviour_clear: * clutter_behaviour_remove_all:
* @behave: a #ClutterBehaviour * @behave: a #ClutterBehaviour
* *
* Removes every actor from the list that @behave holds. * Removes every actor from the list that @behave holds.
@ -607,7 +607,7 @@ clutter_behaviour_get_actors (ClutterBehaviour *behave)
* Since: 0.4 * Since: 0.4
*/ */
void void
clutter_behaviour_clear (ClutterBehaviour *behave) clutter_behaviour_remove_all (ClutterBehaviour *behave)
{ {
ClutterBehaviourPrivate *priv; ClutterBehaviourPrivate *priv;
GSList *l; GSList *l;

View File

@ -132,6 +132,7 @@ void clutter_behaviour_apply (ClutterBehaviour *beh
ClutterActor *actor); ClutterActor *actor);
void clutter_behaviour_remove (ClutterBehaviour *behave, void clutter_behaviour_remove (ClutterBehaviour *behave,
ClutterActor *actor); ClutterActor *actor);
void clutter_behaviour_remove_all (ClutterBehaviour *behave);
void clutter_behaviour_actors_foreach (ClutterBehaviour *behave, void clutter_behaviour_actors_foreach (ClutterBehaviour *behave,
ClutterBehaviourForeachFunc func, ClutterBehaviourForeachFunc func,
gpointer data); gpointer data);
@ -144,7 +145,6 @@ void clutter_behaviour_set_alpha (ClutterBehaviour *beh
ClutterAlpha *alpha); ClutterAlpha *alpha);
gboolean clutter_behaviour_is_applied (ClutterBehaviour *behave, gboolean clutter_behaviour_is_applied (ClutterBehaviour *behave,
ClutterActor *actor); ClutterActor *actor);
void clutter_behaviour_clear (ClutterBehaviour *behave);
G_END_DECLS G_END_DECLS

View File

@ -1,3 +1,8 @@
2007-07-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Rename clutter_behaviour_clear() to
clutter_behaviour_remove_all().
2007-07-24 Emmanuele Bassi <ebassi@openedhand.com> 2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter-sections.txt: Add new rotate behaviour methods. * clutter-sections.txt: Add new rotate behaviour methods.

View File

@ -87,8 +87,8 @@ ClutterBehaviour
ClutterBehaviourClass ClutterBehaviourClass
clutter_behaviour_apply clutter_behaviour_apply
clutter_behaviour_remove clutter_behaviour_remove
clutter_behaviour_remove_all
clutter_behaviour_is_applied clutter_behaviour_is_applied
clutter_behaviour_clear
ClutterBehaviourForeachFunc ClutterBehaviourForeachFunc
clutter_behaviour_actors_foreach clutter_behaviour_actors_foreach
clutter_behaviour_get_actors clutter_behaviour_get_actors