mirror of
https://github.com/brl/mutter.git
synced 2025-07-29 13:08:02 +00:00
crtc: Make implementations inherit MetaCrtc
Just as with MetaOutput, instead of the home baked "inheritance" system, using a gpointer and a GDestroyNotify function to keep the what effectively is sub type details, make MetaCrtc an abstract derivable type, and make the implementations inherit it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
4a4f2d8264
commit
1ce9e379d9
@@ -560,7 +560,7 @@ create_monitor_test_setup (MonitorTestCaseSetup *setup,
|
||||
{
|
||||
MetaCrtc *crtc;
|
||||
|
||||
crtc = g_object_new (META_TYPE_CRTC,
|
||||
crtc = g_object_new (META_TYPE_CRTC_TEST,
|
||||
"id", i + 1,
|
||||
"gpu", test_get_gpu (),
|
||||
NULL);
|
||||
|
Reference in New Issue
Block a user