diff options
author | fiaxh <git@lightrise.org> | 2021-10-11 23:08:50 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-10-12 17:58:18 +0200 |
commit | 8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (patch) | |
tree | bb4f055a17e5ef0d1f896b3eeb7522c639fc58fd /main/src/ui/main_window.vala | |
parent | c85945ae26cab7eb65c67dbe49ebbf668a028b1c (diff) | |
download | dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.tar.gz dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.zip |
Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')
Diffstat (limited to 'main/src/ui/main_window.vala')
-rw-r--r-- | main/src/ui/main_window.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/ui/main_window.vala b/main/src/ui/main_window.vala index df24038a..04c01b26 100644 --- a/main/src/ui/main_window.vala +++ b/main/src/ui/main_window.vala @@ -215,10 +215,10 @@ public class NoAccountsPlaceholder : MainWindowPlaceholder { [GtkTemplate (ui = "/im/dino/Dino/unified_window_placeholder.ui")] public class MainWindowPlaceholder : Box { - [GtkChild] public Label title_label; - [GtkChild] public Label label; - [GtkChild] public Button primary_button; - [GtkChild] public Button secondary_button; + [GtkChild] public unowned Label title_label; + [GtkChild] public unowned Label label; + [GtkChild] public unowned Button primary_button; + [GtkChild] public unowned Button secondary_button; } } |