backend: Clean up slightly

This commit is contained in:
Jasper St. Pierre 2014-04-23 10:32:13 -04:00
parent def097359c
commit 10ac86b950

View File

@ -67,18 +67,12 @@ meta_backend_finalize (GObject *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
meta_backend_real_post_init (MetaBackend *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);
}