wayland: Remove an unused field from MetaWaylandFrameCallback

This commit is contained in:
Jasper St. Pierre 2014-07-10 11:07:17 -04:00
parent 817c6986a0
commit 12d0c98fb5
2 changed files with 0 additions and 5 deletions

View File

@ -50,10 +50,6 @@ typedef struct
typedef struct
{
struct wl_list link;
/* Pointer back to the compositor */
MetaWaylandCompositor *compositor;
struct wl_resource *resource;
} MetaWaylandFrameCallback;

View File

@ -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);