mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
wayland: Fix cast warning
It's sometimes hard to see around all the deprecation warnings. Sorry about that...
This commit is contained in:
parent
283a81eac0
commit
414259a7f8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user