From e23e6970435c9639b2baa17ff715a28f3a25995f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 16 Sep 2015 14:14:38 +0800 Subject: [PATCH] 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 --- src/wayland/meta-wayland-surface.c | 1 - 1 file changed, 1 deletion(-) 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);