Remove meta_is_stage_views_enabled()
This is an old relic from when ClutterStageView was being added, and tests were somewhat prepared to be able to test the "X11 style" of things, with the nested backend some how managing to emulate that. Lets drop that stuff, it isn't used by the test suite, and isn't useful anyway; if we want to test X11 configurations, we should use the actual X11 backend, which didn't make use of this anyway. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2619>
This commit is contained in:
@ -764,13 +764,6 @@ meta_backend_native_initable_init (GInitable *initable,
|
||||
MetaBackend *backend = META_BACKEND (native);
|
||||
MetaKmsFlags kms_flags;
|
||||
|
||||
if (!meta_is_stage_views_enabled ())
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
"The native backend requires stage views");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!meta_backend_is_headless (backend))
|
||||
{
|
||||
const char *session_id = NULL;
|
||||
|
Reference in New Issue
Block a user