gunixmounts: Document when g_unix_mount_at() returns NULL

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2021-06-09 16:01:44 +01:00
parent 165a0baa15
commit 0362bf5d64

View File

@ -1593,6 +1593,8 @@ g_unix_mounts_get (guint64 *time_read)
* If more mounts have the same mount path, the last matching mount * If more mounts have the same mount path, the last matching mount
* is returned. * is returned.
* *
* This will return %NULL if there is no mount point at @mount_path.
*
* Returns: (transfer full) (nullable): a #GUnixMountEntry. * Returns: (transfer full) (nullable): a #GUnixMountEntry.
**/ **/
GUnixMountEntry * GUnixMountEntry *