mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
wayland: Fix output destroyed callback vfunc type
It is not a callback on a parameter signal, and get no GParamSpec passed to it. This fixes a crash when a surface is on a destroyed output. https://bugzilla.gnome.org/show_bug.cgi?id=755096
This commit is contained in:
parent
35729e8659
commit
e23e697043
@ -936,7 +936,6 @@ set_surface_is_on_output (MetaWaylandSurface *surface,
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
surface_handle_output_destroy (MetaWaylandOutput *wayland_output,
|
surface_handle_output_destroy (MetaWaylandOutput *wayland_output,
|
||||||
GParamSpec *pspec,
|
|
||||||
MetaWaylandSurface *surface)
|
MetaWaylandSurface *surface)
|
||||||
{
|
{
|
||||||
set_surface_is_on_output (surface, wayland_output, FALSE);
|
set_surface_is_on_output (surface, wayland_output, FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user