From 471b2ce66d42a85ede6dd063d2088265b0fcb838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= Date: Sat, 7 Oct 2023 14:58:23 -0400 Subject: [PATCH] file-transfer: return a value from task - This fixes "GTask finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program." errors. --- document-portal/file-transfer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/document-portal/file-transfer.c b/document-portal/file-transfer.c index 028a2109e..e1d6e510b 100644 --- a/document-portal/file-transfer.c +++ b/document-portal/file-transfer.c @@ -566,6 +566,7 @@ stop_file_transfers_in_thread_func (GTask *task, } } G_UNLOCK (transfers); + g_task_return_boolean (task, TRUE); } void