mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
language: Add not-swapped flag for signals
This is needed because GtkBuilder defaults to swapped when you specify the object attribute.
This commit is contained in:
parent
9b9fab832b
commit
a6d57cebec
10 changed files with 72 additions and 8 deletions
6
tests/sample_errors/signal_unnecessary_flags.blp
Normal file
6
tests/sample_errors/signal_unnecessary_flags.blp
Normal file
|
@ -0,0 +1,6 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
$MyObject obj {
|
||||
signal1 => $handler() not-swapped;
|
||||
signal2 => $handler(obj) swapped;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue