backend: Move in_init from object init to initable_init
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4018>
This commit is contained in:
parent
57bceb0759
commit
ed1bd6c005
@ -1179,6 +1179,8 @@ meta_backend_initable_init (GInitable *initable,
|
|||||||
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
||||||
MetaInputSettings *input_settings;
|
MetaInputSettings *input_settings;
|
||||||
|
|
||||||
|
priv->in_init = TRUE;
|
||||||
|
|
||||||
if (META_BACKEND_GET_CLASS (backend)->init_basic &&
|
if (META_BACKEND_GET_CLASS (backend)->init_basic &&
|
||||||
!META_BACKEND_GET_CLASS (backend)->init_basic (backend, error))
|
!META_BACKEND_GET_CLASS (backend)->init_basic (backend, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -1304,9 +1306,6 @@ initable_iface_init (GInitableIface *initable_iface)
|
|||||||
static void
|
static void
|
||||||
meta_backend_init (MetaBackend *backend)
|
meta_backend_init (MetaBackend *backend)
|
||||||
{
|
{
|
||||||
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
|
||||||
|
|
||||||
priv->in_init = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user