Fix menus

- Menus require an ID
- The top level menu block can't have attributes
This commit is contained in:
James Westman 2022-12-19 14:36:32 -06:00
parent 8a1dba662a
commit 51d8969ced
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
9 changed files with 43 additions and 13 deletions

View file

@ -0,0 +1,3 @@
using Gtk 4.0;
menu {}

View file

@ -0,0 +1 @@
3,1,4,Menu requires an ID

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
menu {
not-allowed: true;
}

View file

@ -0,0 +1,2 @@
4,5,19,Attributes are not permitted at the top level of a menu
4,16,8,Unexpected tokens