mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 16:14:51 +00:00
context: Make the context owner of the backend
There is still the `_backend` singleton still, as there are still the `meta_get_backend()` that needs to work for now. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
@@ -121,6 +121,7 @@ create_nested_backend (MetaContext *context,
|
||||
{
|
||||
return g_initable_new (META_TYPE_BACKEND_TEST,
|
||||
NULL, error,
|
||||
"context", context,
|
||||
NULL);
|
||||
}
|
||||
|
||||
@@ -131,6 +132,7 @@ create_headless_backend (MetaContext *context,
|
||||
{
|
||||
return g_initable_new (META_TYPE_BACKEND_NATIVE,
|
||||
NULL, error,
|
||||
"context", context,
|
||||
"headless", TRUE,
|
||||
NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user