mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +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.
|
* Gets the source object from a #GAsyncResult.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): a new reference to the source object for the @res,
|
* Returns: (transfer full) (nullable): a new reference to the source
|
||||||
* or %NULL if there is none.
|
* object for the @res, or %NULL if there is none.
|
||||||
*/
|
*/
|
||||||
GObject *
|
GObject *
|
||||||
g_async_result_get_source_object (GAsyncResult *res)
|
g_async_result_get_source_object (GAsyncResult *res)
|
||||||
|
@ -259,7 +259,7 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GAsyncReadyCallback:
|
* 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.
|
* @res: a #GAsyncResult.
|
||||||
* @user_data: user data passed to the callback.
|
* @user_data: user data passed to the callback.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user