mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
crtc-kms: Include MetaCrtc in MetaCrtcKms struct
Otherwise it can't be a GObject inheriting MetaCrtc. This fixes warning
logged as
"invalid uninstantiatable type '(null)' in cast to 'MetaCrtcKms'"
Fixes: 1ce9e379d9
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1308
This commit is contained in:
parent
e089e53b24
commit
19b467aa01
@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
struct _MetaCrtcKms
|
struct _MetaCrtcKms
|
||||||
{
|
{
|
||||||
|
MetaCrtc parent;
|
||||||
|
|
||||||
MetaKmsCrtc *kms_crtc;
|
MetaKmsCrtc *kms_crtc;
|
||||||
|
|
||||||
MetaKmsPlane *primary_plane;
|
MetaKmsPlane *primary_plane;
|
||||||
|
Loading…
Reference in New Issue
Block a user