[glib: 2/3] gunixmounts: Document when g_unix_mount_at() returns NULL
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] gunixmounts: Document when g_unix_mount_at() returns NULL
- Date: Tue, 15 Jun 2021 15:29:59 +0000 (UTC)
commit 0362bf5d64a4b1cb0b0ad0b49e230d4ba526cc69
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Jun 9 16:01:44 2021 +0100
gunixmounts: Document when g_unix_mount_at() returns NULL
Signed-off-by: Philip Withnall <pwithnall endlessos org>
gio/gunixmounts.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index 3df3241ac..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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]