Commit ca4fe594 authored by Evan Nemerson's avatar Evan Nemerson Committed by Philip Withnall

gio: mark the GAsyncResult source_object as nullable

https://bugzilla.gnome.org/show_bug.cgi?id=740223
parent 4a77eb16
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment