Commit 12d0c98f authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

wayland: Remove an unused field from MetaWaylandFrameCallback

parent 817c6986
......@@ -50,10 +50,6 @@ typedef struct
typedef struct
struct wl_list link;
/* Pointer back to the compositor */
MetaWaylandCompositor *compositor;
struct wl_resource *resource;
} MetaWaylandFrameCallback;
......@@ -473,7 +473,6 @@ wl_surface_frame (struct wl_client *client,
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment