aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-11 23:08:50 +0200
committerfiaxh <git@lightrise.org>2021-10-12 17:58:18 +0200
commit8d8dcf5af67ad89c328e67dc2c3469ef90283d9a (patch)
treebb4f055a17e5ef0d1f896b3eeb7522c639fc58fd /plugins/openpgp
parentc85945ae26cab7eb65c67dbe49ebbf668a028b1c (diff)
downloaddino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.tar.gz
dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.zip
Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')
Diffstat (limited to 'plugins/openpgp')
-rw-r--r--plugins/openpgp/src/account_settings_widget.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/openpgp/src/account_settings_widget.vala b/plugins/openpgp/src/account_settings_widget.vala
index 8a616ef5..7c417001 100644
--- a/plugins/openpgp/src/account_settings_widget.vala
+++ b/plugins/openpgp/src/account_settings_widget.vala
@@ -8,9 +8,9 @@ namespace Dino.Plugins.OpenPgp {
[GtkTemplate (ui = "/im/dino/Dino/openpgp/account_settings_item.ui")]
private class AccountSettingsWidget : Stack, Plugins.AccountSettingsWidget {
- [GtkChild] private Label label;
- [GtkChild] private Button button;
- [GtkChild] private ComboBox combobox;
+ [GtkChild] private unowned Label label;
+ [GtkChild] private unowned Button button;
+ [GtkChild] private unowned ComboBox combobox;
private Plugin plugin;
private Account current_account;