mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Do not allow nullable new_id
The usefulness of this is limited, and `libwayland-client` doesn't provide a way to pass a null `new_id` since the id is generated by the library and given to the caller as the return value. Signed-off-by: Ian Douglas Scott <idscott@system76.com>
This commit is contained in:
parent
13b05c9ed1
commit
971f8e4ace
4 changed files with 4 additions and 8 deletions
|
|
@ -414,7 +414,6 @@ is_nullable_type(struct arg *arg)
|
|||
/* Strings and objects are possibly nullable */
|
||||
case STRING:
|
||||
case OBJECT:
|
||||
case NEW_ID:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue