mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
meta-background-actor: Chain up in dispose
This was preventing Clutter from running its dispose, preventing it from being destroyed correctly. While a major bug and possibly big memory leak, the most obvious effect was the message that Clutter spat out: Clutter-CRITICAL **: clutter_actor_iter_next: assertion `ri->age == ri->root->priv->age' failed Since we never disposed the actor correctly, it was never removed from its parent, and the age wasn't updated correctly.
This commit is contained in:
parent
848f9d1399
commit
c844bab232
@ -252,6 +252,8 @@ meta_background_actor_dispose (GObject *object)
|
|||||||
cogl_handle_unref (priv->material);
|
cogl_handle_unref (priv->material);
|
||||||
priv->material = COGL_INVALID_HANDLE;
|
priv->material = COGL_INVALID_HANDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (meta_background_actor_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user