From 55fe8df4842d683b3f7b446e1dbd091bd7a85a4d Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 7 Apr 2026 21:51:52 +0200 Subject: Add widget leak detection --- main/src/ui/file_send_overlay.vala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/src/ui/file_send_overlay.vala') 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); -- cgit v1.3