mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
stage: Call ClutterStageWindow::unrealize() on dispose
Since we realize on creation we need to unrealize on destruction. This makes sure that the ClutterStageWindow implementation can tear down any resource set up during the realization phase. http://bugzilla.clutter-project.org/show_bug.cgi?id=2559
This commit is contained in:
parent
7c356fd05b
commit
169df02a56
@ -1176,6 +1176,7 @@ clutter_stage_dispose (GObject *object)
|
||||
{
|
||||
CLUTTER_NOTE (BACKEND, "Disposing of the stage implementation");
|
||||
|
||||
_clutter_stage_window_unrealize (priv->impl);
|
||||
g_object_unref (priv->impl);
|
||||
priv->impl = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user