mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
backend: Clean up slightly
This commit is contained in:
parent
def097359c
commit
10ac86b950
@ -67,18 +67,12 @@ meta_backend_finalize (GObject *object)
|
|||||||
G_OBJECT_CLASS (meta_backend_parent_class)->finalize (object);
|
G_OBJECT_CLASS (meta_backend_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static MetaCursorRenderer *
|
|
||||||
meta_backend_create_cursor_renderer (MetaBackend *backend)
|
|
||||||
{
|
|
||||||
return META_BACKEND_GET_CLASS (backend)->create_cursor_renderer (backend);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_backend_real_post_init (MetaBackend *backend)
|
meta_backend_real_post_init (MetaBackend *backend)
|
||||||
{
|
{
|
||||||
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
|
||||||
|
|
||||||
priv->cursor_renderer = meta_backend_create_cursor_renderer (backend);
|
priv->cursor_renderer = META_BACKEND_GET_CLASS (backend)->create_cursor_renderer (backend);
|
||||||
priv->monitor_manager = META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend);
|
priv->monitor_manager = META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user