mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
wayland: Remove an unused field from MetaWaylandFrameCallback
This commit is contained in:
parent
817c6986a0
commit
12d0c98fb5
@ -50,10 +50,6 @@ typedef struct
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
struct wl_list link;
|
struct wl_list link;
|
||||||
|
|
||||||
/* Pointer back to the compositor */
|
|
||||||
MetaWaylandCompositor *compositor;
|
|
||||||
|
|
||||||
struct wl_resource *resource;
|
struct wl_resource *resource;
|
||||||
} MetaWaylandFrameCallback;
|
} MetaWaylandFrameCallback;
|
||||||
|
|
||||||
|
@ -473,7 +473,6 @@ wl_surface_frame (struct wl_client *client,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
callback = g_slice_new0 (MetaWaylandFrameCallback);
|
callback = g_slice_new0 (MetaWaylandFrameCallback);
|
||||||
callback->compositor = surface->compositor;
|
|
||||||
callback->resource = wl_resource_create (client, &wl_callback_interface, META_WL_CALLBACK_VERSION, callback_id);
|
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);
|
wl_resource_set_implementation (callback->resource, NULL, callback, destroy_frame_callback);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user