[clutter/clutter-1.16] wayland: Don't pass the shell and compositor down to Cogl



commit 78f20627ac8f3387d0b4751d8bf66ce85676f8f4
Author: Neil Roberts <neil linux intel com>
Date:   Thu Jul 4 13:32:14 2013 +0100

    wayland: Don't pass the shell and compositor down to Cogl
    
    The Wayland 1.0 API allows orthoganal components of an application to
    query the shell and compositor themselves by querying their own
    wl_registry. The corresponding API in Cogl has been removed so Clutter
    shouldn't call it anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703878

 clutter/wayland/clutter-backend-wayland.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/clutter/wayland/clutter-backend-wayland.c b/clutter/wayland/clutter-backend-wayland.c
index 610df50..bebfcd2 100644
--- a/clutter/wayland/clutter-backend-wayland.c
+++ b/clutter/wayland/clutter-backend-wayland.c
@@ -244,10 +244,6 @@ clutter_backend_wayland_get_renderer (ClutterBackend  *backend,
 
   cogl_wayland_renderer_set_foreign_display (renderer,
                                              backend_wayland->wayland_display);
-  cogl_wayland_renderer_set_foreign_compositor (renderer,
-                                                backend_wayland->wayland_compositor);
-  cogl_wayland_renderer_set_foreign_shell (renderer,
-                                           backend_wayland->wayland_shell);
 
   return renderer;
 }


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