aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/contact_details/dialog.vala
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/contact_details/dialog.vala
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/contact_details/dialog.vala')
-rw-r--r--main/src/ui/contact_details/dialog.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/src/ui/contact_details/dialog.vala b/main/src/ui/contact_details/dialog.vala
index 35647eee..f29d068e 100644
--- a/main/src/ui/contact_details/dialog.vala
+++ b/main/src/ui/contact_details/dialog.vala
@@ -10,12 +10,12 @@ namespace Dino.Ui.ContactDetails {
[GtkTemplate (ui = "/im/dino/Dino/contact_details_dialog.ui")]
public class Dialog : Gtk.Dialog {
- [GtkChild] public AvatarImage avatar;
- [GtkChild] public Util.EntryLabelHybrid name_hybrid;
- [GtkChild] public Label name_label;
- [GtkChild] public Label jid_label;
- [GtkChild] public Label account_label;
- [GtkChild] public Box main_box;
+ [GtkChild] public unowned AvatarImage avatar;
+ [GtkChild] public unowned Util.EntryLabelHybrid name_hybrid;
+ [GtkChild] public unowned Label name_label;
+ [GtkChild] public unowned Label jid_label;
+ [GtkChild] public unowned Label account_label;
+ [GtkChild] public unowned Box main_box;
private StreamInteractor stream_interactor;
private Conversation conversation;