aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/file_send_overlay.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/file_send_overlay.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/file_send_overlay.vala')
-rw-r--r--main/src/ui/file_send_overlay.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/ui/file_send_overlay.vala b/main/src/ui/file_send_overlay.vala
index e92cf836..369d291a 100644
--- a/main/src/ui/file_send_overlay.vala
+++ b/main/src/ui/file_send_overlay.vala
@@ -12,10 +12,10 @@ public class FileSendOverlay : Gtk.EventBox {
public signal void close();
public signal void send_file();
- [GtkChild] public Button close_button;
- [GtkChild] public Button send_button;
- [GtkChild] public SizingBin file_widget_insert;
- [GtkChild] public Label info_label;
+ [GtkChild] public unowned Button close_button;
+ [GtkChild] public unowned Button send_button;
+ [GtkChild] public unowned SizingBin file_widget_insert;
+ [GtkChild] public unowned Label info_label;
private bool can_send = true;