gio: mark the GAsyncResult source_object as nullable

https://bugzilla.gnome.org/show_bug.cgi?id=740223
This commit is contained in:
Evan Nemerson 2014-11-16 12:16:23 -08:00 committed by Philip Withnall
parent 4a77eb16ce
commit ca4fe5942a
2 changed files with 3 additions and 3 deletions

View File

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

View File

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