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/conversation_view.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/conversation_view.vala')
-rw-r--r-- | main/src/ui/conversation_view.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/ui/conversation_view.vala b/main/src/ui/conversation_view.vala index 53f1c4c8..af7e32c1 100644 --- a/main/src/ui/conversation_view.vala +++ b/main/src/ui/conversation_view.vala @@ -9,11 +9,11 @@ namespace Dino.Ui { [GtkTemplate (ui = "/im/dino/Dino/conversation_view.ui")] public class ConversationView : Gtk.Overlay { - [GtkChild] public Revealer goto_end_revealer; - [GtkChild] public Button goto_end_button; - [GtkChild] public ChatInput.View chat_input; - [GtkChild] public ConversationSummary.ConversationView conversation_frame; - [GtkChild] public Revealer white_revealer; + [GtkChild] public unowned Revealer goto_end_revealer; + [GtkChild] public unowned Button goto_end_button; + [GtkChild] public unowned ChatInput.View chat_input; + [GtkChild] public unowned ConversationSummary.ConversationView conversation_frame; + [GtkChild] public unowned Revealer white_revealer; construct { white_revealer.notify["child-revealed"].connect_after(on_child_revealed_changed); |