ews, _e_comp_wl_cb_surface_destroy);
/* add this surface to the list of surfaces */
- _e_wl_comp->surfaces = eina_list_append(_e_wl_comp->surfaces, ews);
+ _e_wl_comp->surfaces = eina_inlist_append(_e_wl_comp->surfaces, EINA_INLIST_GET(ews));
}
static void
wl_resource_destroy(cb->wl.resource);
/* remove this surface from the compositor's list of surfaces */
- _e_wl_comp->surfaces = eina_list_remove(_e_wl_comp->surfaces, ews);
+ _e_wl_comp->surfaces = eina_inlist_remove(_e_wl_comp->surfaces, EINA_INLIST_GET(ews));
/* free the allocated surface structure */
E_FREE(ews);