[actor] Unset the IN_DESTRUCTION flag when leaving ::destroy()

The IN_DESTRUCTION flag is set around the unrealization and disposal of
the actor in clutter_actor_destroy() but is never unset (it's set twice
instead).

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Damien Lespiau 2009-10-09 17:18:34 +01:00
parent 3bbc96e17e
commit a7ff5385a5

View File

@ -4373,7 +4373,7 @@ clutter_actor_destroy (ClutterActor *self)
g_object_run_dispose (G_OBJECT (self)); g_object_run_dispose (G_OBJECT (self));
CLUTTER_SET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_DESTRUCTION); CLUTTER_UNSET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_DESTRUCTION);
} }
g_object_unref (self); g_object_unref (self);