From 9b8511a811ccb947015ddd4fe980be65c63e3faa Mon Sep 17 00:00:00 2001 From: William Wold Date: Mon, 17 Dec 2018 11:05:34 -0500 Subject: Replace wayland-scanner private-code option with code --- mate-panel/wayland-protocols/Makefile.am | 6 ++++-- 1 file 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 -- cgit v1.2.1