[mutter/wayland] wayland-surface: Don't clean up the buffer_destroy_listener twice
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] wayland-surface: Don't clean up the buffer_destroy_listener twice
- Date: Sat, 1 Feb 2014 22:56:54 +0000 (UTC)
commit 1f7a6bf84582b860a21782275faaafa68fcf9b20
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Feb 1 16:29:09 2014 -0500
wayland-surface: Don't clean up the buffer_destroy_listener twice
double_buffered_state_destroy will do this for us.
src/wayland/meta-wayland-surface.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index c8b1a50..d33b9f3 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -517,10 +517,6 @@ meta_wayland_surface_free (MetaWaylandSurface *surface)
compositor->surfaces = g_list_remove (compositor->surfaces, surface);
meta_wayland_buffer_reference (&surface->buffer_ref, NULL);
-
- if (surface->pending.buffer)
- wl_list_remove (&surface->pending.buffer_destroy_listener.link);
-
double_buffered_state_destroy (&surface->pending);
meta_wayland_compositor_repick (compositor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]