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:
Jonas Ådahl 2015-09-16 14:14:38 +08:00
parent 35729e8659
commit e23e697043

View File

@ -936,7 +936,6 @@ set_surface_is_on_output (MetaWaylandSurface *surface,
static void
surface_handle_output_destroy (MetaWaylandOutput *wayland_output,
GParamSpec *pspec,
MetaWaylandSurface *surface)
{
set_surface_is_on_output (surface, wayland_output, FALSE);