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:
Jasper St. Pierre 2012-02-16 15:53:21 -05:00
parent 848f9d1399
commit c844bab232

View File

@ -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