summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2018-12-17 11:05:34 -0500
committerlukefromdc <[email protected]>2018-12-21 04:56:22 +0000
commit9b8511a811ccb947015ddd4fe980be65c63e3faa (patch)
treea25e5ffa2b6768ccfc7cfb02f46e45ffffbea3e6
parent3e73d66a4e9f41958ca5148bd76d49ab28904793 (diff)
downloadmate-panel-9b8511a811ccb947015ddd4fe980be65c63e3faa.tar.bz2
mate-panel-9b8511a811ccb947015ddd4fe980be65c63e3faa.tar.xz
Replace wayland-scanner private-code option with code
-rw-r--r--mate-panel/wayland-protocols/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/mate-panel/wayland-protocols/Makefile.am b/mate-panel/wayland-protocols/Makefile.am
index 703af7eb..4eb5f35c 100644
--- a/mate-panel/wayland-protocols/Makefile.am
+++ b/mate-panel/wayland-protocols/Makefile.am
@@ -4,12 +4,14 @@ all: wlr-layer-shell-unstable-v1-client-protocol.h wlr-layer-shell-unstable-v1-p
wlr-layer-shell-unstable-v1-client-protocol.h: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-client-protocol.h
+# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
- wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
+ wayland-scanner -c code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
xdg-shell-client-protocol.h: xdg-shell.xml
wayland-scanner -c client-header xdg-shell.xml xdg-shell-client-protocol.h
+# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
xdg-shell-protocol.c: xdg-shell.xml
- wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
+ wayland-scanner -c code xdg-shell.xml xdg-shell-protocol.c
endif