[clutter/wip/backend-next] wayland/backend: Remove create_stage()



commit b81376552822b52413460e626ff207ee08d6ed47
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Nov 7 14:44:37 2011 +0000

    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.

 clutter/wayland/clutter-backend-wayland.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/clutter/wayland/clutter-backend-wayland.c b/clutter/wayland/clutter-backend-wayland.c
index dde2347..4ab31a9 100644
--- a/clutter/wayland/clutter-backend-wayland.c
+++ b/clutter/wayland/clutter-backend-wayland.c
@@ -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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]