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:
Emmanuele Bassi 2011-11-07 14:44:37 +00:00 committed by Emmanuele Bassi
parent 7472c07c41
commit 88b27beea4

View File

@ -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;
}