clutter/backend/native: Keep a pointer to the actual backend
This eliminates going via a global variable. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
This commit is contained in:
@ -117,7 +117,7 @@ meta_backend_native_dispose (GObject *object)
|
||||
static ClutterBackend *
|
||||
meta_backend_native_create_clutter_backend (MetaBackend *backend)
|
||||
{
|
||||
return g_object_new (META_TYPE_CLUTTER_BACKEND_NATIVE, NULL);
|
||||
return CLUTTER_BACKEND (meta_clutter_backend_native_new (backend));
|
||||
}
|
||||
|
||||
static ClutterSeat *
|
||||
|
Reference in New Issue
Block a user