aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_selector
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/conversation_selector
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/conversation_selector')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector_row.vala22
1 files changed, 11 insertions, 11 deletions
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; }