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'') --- main/src/ui/chat_input/view.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'main/src/ui/chat_input') diff --git a/main/src/ui/chat_input/view.vala b/main/src/ui/chat_input/view.vala index fe0767cb..5142eb10 100644 --- a/main/src/ui/chat_input/view.vala +++ b/main/src/ui/chat_input/view.vala @@ -19,12 +19,12 @@ public class View : Box { private Conversation? conversation; private HashMap entry_cache = new HashMap(Conversation.hash_func, Conversation.equals_func); - [GtkChild] public Frame frame; - [GtkChild] public ChatTextView chat_text_view; - [GtkChild] public Box outer_box; - [GtkChild] public Button file_button; - [GtkChild] public Separator file_separator; - [GtkChild] public Label chat_input_status; + [GtkChild] public unowned Frame frame; + [GtkChild] public unowned ChatTextView chat_text_view; + [GtkChild] public unowned Box outer_box; + [GtkChild] public unowned Button file_button; + [GtkChild] public unowned Separator file_separator; + [GtkChild] public unowned Label chat_input_status; public EncryptionButton encryption_widget; -- cgit v1.2.3-70-g09d2