Commit f181de3e authored by Marco Trevisan's avatar Marco Trevisan 🎺

display: treat compositor as GObject

parent 08a65dfd
......@@ -946,8 +946,7 @@ meta_display_close (MetaDisplay *display,
g_hash_table_destroy (display->wayland_windows);
g_hash_table_destroy (display->stamps);
if (display->compositor)
meta_compositor_destroy (display->compositor);
g_clear_object (&display->compositor);
if (display->x11_display)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment