forked from enlightenment/enlightenment
Update unbind of the data device to use wl_resource_get_link.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
bd3281c248
commit
77e6d1c8e1
|
@ -1121,7 +1121,7 @@ _create_data_source(struct wl_client *client, struct wl_resource *resource, uint
|
|||
static void
|
||||
_unbind_data_device(struct wl_resource *resource)
|
||||
{
|
||||
wl_list_remove(&resource->link);
|
||||
wl_list_remove(wl_resource_get_link(resource));
|
||||
free(resource);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue