diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c index 819a44bed..46a41fc41 100644 --- a/gio/gunixmounts.c +++ b/gio/gunixmounts.c @@ -1593,6 +1593,8 @@ g_unix_mounts_get (guint64 *time_read) * If more mounts have the same mount path, the last matching mount * is returned. * + * This will return %NULL if there is no mount point at @mount_path. + * * Returns: (transfer full) (nullable): a #GUnixMountEntry. **/ GUnixMountEntry * @@ -1636,6 +1638,9 @@ g_unix_mount_at (const char *mount_path, * If more mounts have the same mount path, the last matching mount * is returned. * + * This will return %NULL if looking up the mount entry fails, if + * @file_path doesn’t exist or there is an I/O error. + * * Returns: (transfer full) (nullable): a #GUnixMountEntry. * * Since: 2.52