mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
wayland/backend: Remove create_stage()
The create_stage() implementation in ClutterBackendWayland isn't doing anything special, so we can fall back to the default one.
This commit is contained in:
parent
7472c07c41
commit
88b27beea4
@ -592,24 +592,6 @@ clutter_backend_wayland_get_features (ClutterBackend *backend)
|
||||
return flags;
|
||||
}
|
||||
|
||||
static ClutterStageWindow *
|
||||
clutter_backend_wayland_create_stage (ClutterBackend *backend,
|
||||
ClutterStage *wrapper,
|
||||
GError **error)
|
||||
{
|
||||
ClutterBackendWayland *backend_wayland = CLUTTER_BACKEND_WAYLAND (backend);
|
||||
ClutterStageWindow *stage;
|
||||
ClutterStageWayland *stage_wayland;
|
||||
|
||||
stage = g_object_new (CLUTTER_TYPE_STAGE_WAYLAND, NULL);
|
||||
|
||||
stage_wayland = CLUTTER_STAGE_WAYLAND (stage);
|
||||
stage_wayland->backend = backend_wayland;
|
||||
stage_wayland->wrapper = wrapper;
|
||||
|
||||
return stage;
|
||||
}
|
||||
|
||||
static void
|
||||
_clutter_backend_wayland_class_init (ClutterBackendWaylandClass *klass)
|
||||
{
|
||||
@ -625,7 +607,6 @@ _clutter_backend_wayland_class_init (ClutterBackendWaylandClass *klass)
|
||||
backend_class->pre_parse = clutter_backend_wayland_pre_parse;
|
||||
backend_class->post_parse = clutter_backend_wayland_post_parse;
|
||||
backend_class->get_features = clutter_backend_wayland_get_features;
|
||||
backend_class->create_stage = clutter_backend_wayland_create_stage;
|
||||
backend_class->create_context = clutter_backend_wayland_create_context;
|
||||
backend_class->redraw = clutter_backend_wayland_redraw;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user