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/conversation_view.vala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main/src/ui/conversation_view.vala') 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); -- cgit v1.2.3-54-g00ecf