wayland: Fix cast warning

It's sometimes hard to see around all the deprecation warnings. Sorry
about that...
This commit is contained in:
Jasper St. Pierre 2014-02-18 17:26:03 -05:00
parent 283a81eac0
commit 414259a7f8

View File

@ -621,7 +621,7 @@ wl_surface_destructor (struct wl_resource *resource)
surface_set_buffer (surface, NULL); surface_set_buffer (surface, NULL);
double_buffered_state_destroy (&surface->pending); 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); g_object_unref (surface->surface_actor);
if (surface->resource) if (surface->resource)