aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/file_send_overlay.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-04-07 21:51:52 +0200
committerMarvin W <git@larma.de>2026-04-08 16:59:43 +0200
commit55fe8df4842d683b3f7b446e1dbd091bd7a85a4d (patch)
treee24fe3254d761f2cc02760b8d73e52f93941acb9 /main/src/ui/file_send_overlay.vala
parentaeb8032753dd004db68a0ee144d4f51b4fe3aa0a (diff)
Add widget leak detection
Diffstat (limited to 'main/src/ui/file_send_overlay.vala')
-rw-r--r--main/src/ui/file_send_overlay.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/file_send_overlay.vala b/main/src/ui/file_send_overlay.vala
index 0067e09d..907cea00 100644
--- a/main/src/ui/file_send_overlay.vala
+++ b/main/src/ui/file_send_overlay.vala
@@ -18,6 +18,10 @@ public class FileSendOverlay : Adw.Dialog {
private File file;
private bool can_send = true;
+ construct {
+ check_widget_leak(this);
+ }
+
public FileSendOverlay(File file, FileInfo file_info) {
this.file = file;
load_file_widget.begin(file, file_info);