mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix referencing template by ID
This commit is contained in:
parent
664fa2250b
commit
08da6f79c7
3 changed files with 10 additions and 3 deletions
|
@ -4,3 +4,7 @@ template TestTemplate : ApplicationWindow {
|
|||
test-property: "Hello, world";
|
||||
test-signal => on_test_signal();
|
||||
}
|
||||
|
||||
Dialog {
|
||||
transient-for: TestTemplate;
|
||||
}
|
|
@ -5,4 +5,7 @@
|
|||
<property name="test-property">Hello, world</property>
|
||||
<signal name="test-signal" handler="on_test_signal"/>
|
||||
</template>
|
||||
<object class="GtkDialog">
|
||||
<property name="transient-for">TestTemplate</property>
|
||||
</object>
|
||||
</interface>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue