summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-09-16 14:14:38 +0800
committerJonas Ådahl <jadahl@gmail.com>2015-09-24 08:08:41 +0800
commite23e6970435c9639b2baa17ff715a28f3a25995f (patch)
treed3e2810ef9257ab2f8ee28491cfd259886c3aed8
parent35729e8659cc99f45d3564c33d44a475f20d0060 (diff)
downloadmutter-e23e6970435c9639b2baa17ff715a28f3a25995f.tar.gz
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
-rw-r--r--src/wayland/meta-wayland-surface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 0a2a21a39..f619f1ebb 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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);