mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
decompiler: Fix bug in signals with template object
If a signal handler had the template as its object, the decompiler would output the class name instead of the 'template' keyword.
This commit is contained in:
parent
a12d3f5c81
commit
2e42dc6848
4 changed files with 31 additions and 1 deletions
7
tests/samples/signal_template_object.blp
Normal file
7
tests/samples/signal_template_object.blp
Normal file
|
@ -0,0 +1,7 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
template $MyTemplate {
|
||||
Button {
|
||||
clicked => $my_signal_handler(template);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue