Skip to content

Commit 9b8511a

Browse files
wmwwlukefromdc
authored andcommitted
Replace wayland-scanner private-code option with code
1 parent 3e73d66 commit 9b8511a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

mate-panel/wayland-protocols/Makefile.am

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ all: wlr-layer-shell-unstable-v1-client-protocol.h wlr-layer-shell-unstable-v1-p
44
wlr-layer-shell-unstable-v1-client-protocol.h: wlr-layer-shell-unstable-v1.xml
55
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-client-protocol.h
66

7+
# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
78
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
8-
wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
9+
wayland-scanner -c code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
910

1011
xdg-shell-client-protocol.h: xdg-shell.xml
1112
wayland-scanner -c client-header xdg-shell.xml xdg-shell-client-protocol.h
1213

14+
# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
1315
xdg-shell-protocol.c: xdg-shell.xml
14-
wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
16+
wayland-scanner -c code xdg-shell.xml xdg-shell-protocol.c
1517
endif

0 commit comments

Comments
 (0)