Re: [PATCH wayland] shm: Deprecate wl_shm_buffer_create()

2015-06-26 Thread Derek Foreman
On 26/06/15 01:29 AM, Pekka Paalanen wrote: > On Thu, 25 Jun 2015 16:26:06 -0500 > Derek Foreman wrote: > >> From irc: >> it creates a wl_buffer object in a way that no client can ever >> access the storage. >> >> So, let's replace it with abort(); and mark it with attribute >> deprecated i

Re: [PATCH wayland] shm: Deprecate wl_shm_buffer_create()

2015-06-25 Thread Pekka Paalanen
On Thu, 25 Jun 2015 16:26:06 -0500 Derek Foreman wrote: > From irc: > it creates a wl_buffer object in a way that no client can ever > access the storage. > > So, let's replace it with abort(); and mark it with attribute > deprecated in the header. > > Signed-off-by: Derek Foreman > ---

[PATCH wayland] shm: Deprecate wl_shm_buffer_create()

2015-06-25 Thread Derek Foreman
From irc: it creates a wl_buffer object in a way that no client can ever access the storage. So, let's replace it with abort(); and mark it with attribute deprecated in the header. Signed-off-by: Derek Foreman --- src/wayland-server-core.h | 3 ++- src/wayland-shm.c | 29 +---