From 8d8dcf5af67ad89c328e67dc2c3469ef90283d9a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 11 Oct 2021 23:08:50 +0200 Subject: Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'') --- .../conference_details_fragment.vala | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'main/src/ui/add_conversation/conference_details_fragment.vala') diff --git a/main/src/ui/add_conversation/conference_details_fragment.vala b/main/src/ui/add_conversation/conference_details_fragment.vala index 0b8306e4..88f9cc73 100644 --- a/main/src/ui/add_conversation/conference_details_fragment.vala +++ b/main/src/ui/add_conversation/conference_details_fragment.vala @@ -62,30 +62,30 @@ protected class ConferenceDetailsFragment : Box { public bool fragment_active { get; set; default=true; } - [GtkChild] private Stack accounts_stack; - [GtkChild] private Button accounts_button; - [GtkChild] private Label accounts_label; - [GtkChild] private AccountComboBox account_combobox; - - [GtkChild] private Stack jid_stack; - [GtkChild] private Button jid_button; - [GtkChild] private Label jid_label; - [GtkChild] private Entry jid_entry; - - [GtkChild] private Stack nick_stack; - [GtkChild] private Button nick_button; - [GtkChild] private Label nick_label; - [GtkChild] private Entry nick_entry; - - [GtkChild] private Stack password_stack; - [GtkChild] private Button password_button; - [GtkChild] private Label password_label; - [GtkChild] private Label password_text_label; - [GtkChild] private Entry password_entry; - - [GtkChild] private Revealer notification_revealer; - [GtkChild] private Button notification_button; - [GtkChild] private Label notification_label; + [GtkChild] private unowned Stack accounts_stack; + [GtkChild] private unowned Button accounts_button; + [GtkChild] private unowned Label accounts_label; + [GtkChild] private unowned AccountComboBox account_combobox; + + [GtkChild] private unowned Stack jid_stack; + [GtkChild] private unowned Button jid_button; + [GtkChild] private unowned Label jid_label; + [GtkChild] private unowned Entry jid_entry; + + [GtkChild] private unowned Stack nick_stack; + [GtkChild] private unowned Button nick_button; + [GtkChild] private unowned Label nick_label; + [GtkChild] private unowned Entry nick_entry; + + [GtkChild] private unowned Stack password_stack; + [GtkChild] private unowned Button password_button; + [GtkChild] private unowned Label password_label; + [GtkChild] private unowned Label password_text_label; + [GtkChild] private unowned Entry password_entry; + + [GtkChild] private unowned Revealer notification_revealer; + [GtkChild] private unowned Button notification_button; + [GtkChild] private unowned Label notification_label; private StreamInteractor stream_interactor; private Button ok_button_; -- cgit v1.2.3-54-g00ecf