Before chaining up to gtk in gtk_clutter_embed_dispose we destroy
priv->stage, but gtk will emit a hide signal during it's dispose so we
need to guard against calling clutter_actor_hide (priv->stage) if
the stage has been destroyed.
{
GtkClutterEmbedPrivate *priv = GTK_CLUTTER_EMBED (widget)->priv;
- clutter_actor_hide (priv->stage);
+ /* gtk emits a hide signal during dispose, so it's possible we may
+ * have already disposed priv->stage. */
+ if (priv->stage)
+ clutter_actor_hide (priv->stage);
GTK_WIDGET_CLASS (gtk_clutter_embed_parent_class)->hide (widget);
}