[mutter/wayland] wayland: Fix cast warning



commit 414259a7f8c6e4de9f2a5835c9cc277db241bd68
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 18 17:26:03 2014 -0500

    wayland: Fix cast warning
    
    It's sometimes hard to see around all the deprecation warnings. Sorry
    about that...

 src/wayland/meta-wayland-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 050ec38..12bb3d0 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -621,7 +621,7 @@ wl_surface_destructor (struct wl_resource *resource)
   surface_set_buffer (surface, NULL);
   double_buffered_state_destroy (&surface->pending);
 
-  clutter_actor_destroy (surface->surface_actor);
+  clutter_actor_destroy (CLUTTER_ACTOR (surface->surface_actor));
   g_object_unref (surface->surface_actor);
 
   if (surface->resource)


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