[mutter] wayland: Fix output destroyed callback vfunc type
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Fix output destroyed callback vfunc type
- Date: Thu, 24 Sep 2015 00:11:08 +0000 (UTC)
commit e23e6970435c9639b2baa17ff715a28f3a25995f
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed Sep 16 14:14:38 2015 +0800
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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 0a2a21a..f619f1e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]