2008-05-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour.c: (clutter_behaviour_remove_all): Disconnect the ::destroy handler when removing all actors, to match the behaviour of clutter_behaviour_remove().
This commit is contained in:
parent
f72af9926d
commit
21c0c41e51
@ -1,3 +1,10 @@
|
||||
2008-05-01 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-behaviour.c:
|
||||
(clutter_behaviour_remove_all): Disconnect the ::destroy
|
||||
handler when removing all actors, to match the behaviour
|
||||
of clutter_behaviour_remove().
|
||||
|
||||
2008-05-01 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/glx/clutter-glx-texture-pixmap.c:
|
||||
|
@ -652,6 +652,9 @@ clutter_behaviour_remove_all (ClutterBehaviour *behave)
|
||||
ClutterActor *actor = l->data;
|
||||
|
||||
g_signal_emit (behave, behave_signals[REMOVED], 0, actor);
|
||||
g_signal_handlers_disconnect_by_func (actor,
|
||||
G_CALLBACK (remove_actor_on_destroy),
|
||||
behave);
|
||||
g_object_unref (actor);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user