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'') --- .../conversation_selector_row.vala | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'main/src/ui/conversation_selector/conversation_selector_row.vala') diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index 6f181a64..067f257c 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -12,17 +12,17 @@ namespace Dino.Ui { [GtkTemplate (ui = "/im/dino/Dino/conversation_row.ui")] public class ConversationSelectorRow : ListBoxRow { - [GtkChild] protected AvatarImage image; - [GtkChild] protected Label name_label; - [GtkChild] protected Label time_label; - [GtkChild] protected Label nick_label; - [GtkChild] protected Label message_label; - [GtkChild] protected Label unread_count_label; - [GtkChild] protected Button x_button; - [GtkChild] protected Revealer time_revealer; - [GtkChild] protected Revealer xbutton_revealer; - [GtkChild] protected Revealer unread_count_revealer; - [GtkChild] public Revealer main_revealer; + [GtkChild] protected unowned AvatarImage image; + [GtkChild] protected unowned Label name_label; + [GtkChild] protected unowned Label time_label; + [GtkChild] protected unowned Label nick_label; + [GtkChild] protected unowned Label message_label; + [GtkChild] protected unowned Label unread_count_label; + [GtkChild] protected unowned Button x_button; + [GtkChild] protected unowned Revealer time_revealer; + [GtkChild] protected unowned Revealer xbutton_revealer; + [GtkChild] protected unowned Revealer unread_count_revealer; + [GtkChild] public unowned Revealer main_revealer; public Conversation conversation { get; private set; } -- cgit v1.2.3-54-g00ecf