aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
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 /main/src/ui/chat_input
parentc85945ae26cab7eb65c67dbe49ebbf668a028b1c (diff)
downloaddino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.tar.gz
dino-8d8dcf5af67ad89c328e67dc2c3469ef90283d9a.zip
Fix compiler warnings ('[GtkChild] fields must be declared as `unowned'')
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r--main/src/ui/chat_input/view.vala12
1 files changed, 6 insertions, 6 deletions
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<Conversation, string> entry_cache = new HashMap<Conversation, string>(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;