[mutter] wayland: Remove an unused field from MetaWaylandFrameCallback
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Remove an unused field from MetaWaylandFrameCallback
- Date: Thu, 10 Jul 2014 17:39:32 +0000 (UTC)
commit 12d0c98fb58626e54497b4ee3c0895e280d2e393
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 10 11:07:17 2014 -0400
wayland: Remove an unused field from MetaWaylandFrameCallback
src/wayland/meta-wayland-private.h | 4 ----
src/wayland/meta-wayland-surface.c | 1 -
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/wayland/meta-wayland-private.h b/src/wayland/meta-wayland-private.h
index a43d92f..9e35e1c 100644
--- a/src/wayland/meta-wayland-private.h
+++ b/src/wayland/meta-wayland-private.h
@@ -50,10 +50,6 @@ typedef struct
typedef struct
{
struct wl_list link;
-
- /* Pointer back to the compositor */
- MetaWaylandCompositor *compositor;
-
struct wl_resource *resource;
} MetaWaylandFrameCallback;
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 8097feb..1ff253b 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -473,7 +473,6 @@ wl_surface_frame (struct wl_client *client,
return;
callback = g_slice_new0 (MetaWaylandFrameCallback);
- callback->compositor = surface->compositor;
callback->resource = wl_resource_create (client, &wl_callback_interface, META_WL_CALLBACK_VERSION,
callback_id);
wl_resource_set_implementation (callback->resource, NULL, callback, destroy_frame_callback);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]