actor: Freeze property change notifications on destroy

This commit is contained in:
Jasper St. Pierre 2012-02-16 14:06:25 -05:00
parent 554f009347
commit 5dc1cd399c

View File

@ -5328,9 +5328,13 @@ clutter_actor_real_destroy (ClutterActor *actor)
{
ClutterActorIter iter;
g_object_freeze_notify (G_OBJECT (actor));
clutter_actor_iter_init (&iter, actor);
while (clutter_actor_iter_next (&iter, NULL))
clutter_actor_iter_destroy (&iter);
g_object_thaw_notify (G_OBJECT (actor));
}
static GObject *