diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2023-05-16 14:55:41 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@redhat.com> | 2023-05-16 14:56:24 -0500 |
commit | 928137b1ebda52f915ed582784dfa03b11474b34 (patch) | |
tree | 1a2a9612c6b13fa9e2e6e17e15fcc3dfae873421 | |
parent | 57a3a704832f1c1244a722357a02cc5a2e1e7ebc (diff) | |
download | glib-mcatanzaro/closure-audit.tar.gz |
Fix scope annotation on g_file_move_async()mcatanzaro/closure-audit
Currently the callback is invalid after the call to g_file_move_async(),
before g_file_move_finish() is called. That is no bueno.
-rw-r--r-- | gio/gfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gfile.c b/gio/gfile.c index 4174fbb6f..6458735d5 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -3970,7 +3970,7 @@ g_file_move (GFile *source, * @progress_callback: (nullable) (scope call) (closure progress_callback_data): * #GFileProgressCallback function for updates * @progress_callback_data: gpointer to user data for the callback function - * @callback (closure user_data): a #GAsyncReadyCallback + * @callback (scope async) (closure user_data): a #GAsyncReadyCallback * to call when the request is satisfied * @user_data: the data to pass to callback function * |