mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio: mark the GAsyncResult source_object as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=740223
This commit is contained in:
parent
4a77eb16ce
commit
ca4fe5942a
@ -147,8 +147,8 @@ g_async_result_get_user_data (GAsyncResult *res)
|
||||
*
|
||||
* Gets the source object from a #GAsyncResult.
|
||||
*
|
||||
* Returns: (transfer full): a new reference to the source object for the @res,
|
||||
* or %NULL if there is none.
|
||||
* Returns: (transfer full) (nullable): a new reference to the source
|
||||
* object for the @res, or %NULL if there is none.
|
||||
*/
|
||||
GObject *
|
||||
g_async_result_get_source_object (GAsyncResult *res)
|
||||
|
@ -259,7 +259,7 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
|
||||
|
||||
/**
|
||||
* GAsyncReadyCallback:
|
||||
* @source_object: the object the asynchronous operation was started with.
|
||||
* @source_object: (nullable): the object the asynchronous operation was started with.
|
||||
* @res: a #GAsyncResult.
|
||||
* @user_data: user data passed to the callback.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user