wayland/backend: Remove create_stage()
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 7 Nov 2011 14:44:37 +0000 (14:44 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 10 Nov 2011 14:55:04 +0000 (14:55 +0000)
The create_stage() implementation in ClutterBackendWayland isn't doing
anything special, so we can fall back to the default one.

clutter/wayland/clutter-backend-wayland.c

index dde2347..4ab31a9 100644 (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;
 }