From 11102f4440c7bec465f1412a2fc7e8738d4711e8 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 13 Jun 2024 15:21:36 +0000 Subject: [PATCH] gfile/g-i: Remove wrongly set finish-func annotations The with_closures variants are not async functions per see. They don't have a GAsyncReadyCallback params. --- gio/gfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gfile.c b/gio/gfile.c index c880b22c2..49ba81b41 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -3900,7 +3900,7 @@ copy_async_invoke_ready (GObject *file, } /** - * g_file_copy_async_with_closures: (rename-to g_file_copy_async) (finish-func copy_finish): + * g_file_copy_async_with_closures: (rename-to g_file_copy_async): * @source: input [type@Gio.File] * @destination: destination [type@Gio.File] * @flags: set of [flags@Gio.FileCopyFlags] @@ -4153,7 +4153,7 @@ g_file_move_async (GFile *source, } /** - * g_file_move_async_with_closures: (rename-to g_file_move_async) (finish-func move_finish): + * g_file_move_async_with_closures: (rename-to g_file_move_async): * @source: input [type@Gio.File] * @destination: destination [type@Gio.File] * @flags: set of [flags@Gio.FileCopyFlags]