[mutter] backend: Clean up slightly



commit 10ac86b9508df8b2775a3e26b2331896058b4765
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Apr 23 10:32:13 2014 -0400

    backend: Clean up slightly

 src/backends/meta-backend.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index 20a830b..91cd837 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -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);
 }
 


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