compositor: Make type derivable

This is so that we can split it up properly into X11 compositor and
display server compositor sub types.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/727
This commit is contained in:
Jonas Ådahl
2019-08-14 19:04:41 +02:00
committed by Georges Basile Stavracas Neto
parent 55cd110c63
commit 12ea2fcb51
10 changed files with 402 additions and 198 deletions

View File

@ -30,7 +30,8 @@
#define META_TYPE_COMPOSITOR (meta_compositor_get_type ())
META_EXPORT
G_DECLARE_FINAL_TYPE (MetaCompositor, meta_compositor, META, COMPOSITOR, GObject)
G_DECLARE_DERIVABLE_TYPE (MetaCompositor, meta_compositor,
META, COMPOSITOR, GObject)
/**
* MetaCompEffect: