Fix scope annotation on g_file_move_async()

Currently the callback is invalid after the call to g_file_move_async(),
before g_file_move_finish() is called. That is no bueno.
This commit is contained in:
Michael Catanzaro 2023-05-16 14:55:41 -05:00 committed by Philip Withnall
parent 5d738ddcfe
commit 12e48719af

View File

@ -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
*