mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Remove all wayland-server.h includes
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration.
This commit is contained in:
parent
76ef089f52
commit
ca45f4490c
129 changed files with 136 additions and 145 deletions
|
|
@ -96,9 +96,6 @@ if cc.get_id() == 'clang'
|
|||
add_project_arguments('-Wno-missing-braces', language: 'c')
|
||||
endif
|
||||
|
||||
# Avoid wl_buffer deprecation warnings
|
||||
add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c')
|
||||
|
||||
wayland_server = dependency('wayland-server', version: '>=1.16')
|
||||
wayland_client = dependency('wayland-client')
|
||||
wayland_egl = dependency('wayland-egl')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue