mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
[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:
parent
3bbc96e17e
commit
a7ff5385a5
@ -4373,7 +4373,7 @@ clutter_actor_destroy (ClutterActor *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);
|
||||
|
Loading…
Reference in New Issue
Block a user