mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
language: Remove inline menus
Inline menus didn't work anyway--menus have to be referenced by ID (though, curiously, you *can* put the <menu> within the <property> tag and immediately reference it--but that's a hack, and not what blueprint-compiler was doing).
This commit is contained in:
parent
f1c3413dc1
commit
447785ec8c
12 changed files with 11 additions and 28 deletions
|
@ -1,5 +0,0 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Button {
|
||||
label: menu {};
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
4,3,15,Cannot assign Gio.Menu to string
|
5
tests/sample_errors/inline_menu.blp
Normal file
5
tests/sample_errors/inline_menu.blp
Normal file
|
@ -0,0 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
MenuButton {
|
||||
menu-model: menu primary_menu {};
|
||||
}
|
1
tests/sample_errors/inline_menu.err
Normal file
1
tests/sample_errors/inline_menu.err
Normal file
|
@ -0,0 +1 @@
|
|||
4,15,4,Namespace Gtk does not contain a type called menu
|
Loading…
Add table
Add a link
Reference in a new issue