[clutter] actor: Freeze property change notifications on destroy
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] actor: Freeze property change notifications on destroy
- Date: Wed, 21 Mar 2012 15:41:32 +0000 (UTC)
commit 5dc1cd399cf900cb56057a9cbd99c796d273fa63
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 16 14:06:25 2012 -0500
actor: Freeze property change notifications on destroy
clutter/clutter-actor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 509a807..5f6e801 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]