gio: Add missing (nullable) annotations to GDrive, GMount, GVolume

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1354
This commit is contained in:
Philip Withnall
2018-03-21 15:19:07 +00:00
parent f92d179f77
commit 41ec0b9c60
3 changed files with 18 additions and 14 deletions

View File

@@ -613,7 +613,7 @@ g_drive_poll_for_media_finish (GDrive *drive,
*
* Gets the identifier of the given kind for @drive.
*
* Returns: a newly allocated string containing the
* Returns: (nullable) (transfer full): a newly allocated string containing the
* requested identfier, or %NULL if the #GDrive
* doesn't have this kind of identifier.
*/
@@ -921,7 +921,7 @@ g_drive_stop_finish (GDrive *drive,
*
* Gets the sort key for @drive, if any.
*
* Returns: Sorting key for @drive or %NULL if no such key is available.
* Returns: (nullable): Sorting key for @drive or %NULL if no such key is available.
*
* Since: 2.32
*/