diff options
| author | Derek Foreman <derekf@osg.samsung.com> | 2018-02-16 10:54:40 -0600 |
|---|---|---|
| committer | Derek Foreman <derek.foreman.samsung@gmail.com> | 2018-07-25 12:08:16 -0500 |
| commit | e614d79b6534541c3c1d2e0000c90f74e62622fc (patch) | |
| tree | 1ed466a1df49bde3348296a76c70023e1c294ea4 | |
| parent | protocol: allow to send a zero physical output size (diff) | |
| download | wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar.gz wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar.bz2 wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar.lz wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar.xz wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.tar.zst wayland-e614d79b6534541c3c1d2e0000c90f74e62622fc.zip | |
wayland-server: Finally remove deprecated struct wl_buffer definition
commit d94a8722cb29d8b897672be66ff3c9ff79eab6fe
warned this was coming, back in 2013.
I've seen libraries that have wayland client and server using functions
in the same file. Since struct wl_buffer still exists as an opaque
entity in client code, the vestigial deprecated wl_buffer from the
server include will generate warnings when not building with
WL_HIDE_DEPRECATED.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
| -rw-r--r-- | src/wayland-server.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h index ccf9783..1be565f 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -70,12 +70,6 @@ struct wl_resource { void *data; }; -struct wl_buffer { - struct wl_resource resource; - int32_t width, height; - uint32_t busy_count; -} WL_DEPRECATED; - uint32_t wl_client_add_resource(struct wl_client *client, struct wl_resource *resource) WL_DEPRECATED; |
