mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
giotypes: Document refcounting of source object for GAsyncReadyCallback
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2343
This commit is contained in:
parent
e85c4a550f
commit
f5dc0ec489
@ -271,6 +271,10 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
|
||||
* where the #GTask was created. All other users of
|
||||
* #GAsyncReadyCallback must likewise call it asynchronously in a
|
||||
* later iteration of the main context.
|
||||
*
|
||||
* The asynchronous operation is guaranteed to have held a reference to
|
||||
* @source_object from the time when the `*_async()` function was called, until
|
||||
* after this callback returns.
|
||||
**/
|
||||
typedef void (*GAsyncReadyCallback) (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
|
Loading…
Reference in New Issue
Block a user