[glib: 1/2] Add nullable annotations in GUnixMountEntry
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Add nullable annotations in GUnixMountEntry
- Date: Sun, 18 Apr 2021 16:35:28 +0000 (UTC)
commit 98c37105226e74152de38f19662b876021cf1663
Author: Sophie Herold <sophie hemio de>
Date: Sun Apr 18 18:13:08 2021 +0200
Add nullable annotations in GUnixMountEntry
gio/gunixmounts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index 32b936259..819a44bed 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -1593,7 +1593,7 @@ g_unix_mounts_get (guint64 *time_read)
* If more mounts have the same mount path, the last matching mount
* is returned.
*
- * Returns: (transfer full): a #GUnixMountEntry.
+ * Returns: (transfer full) (nullable): a #GUnixMountEntry.
**/
GUnixMountEntry *
g_unix_mount_at (const char *mount_path,
@@ -1636,7 +1636,7 @@ g_unix_mount_at (const char *mount_path,
* If more mounts have the same mount path, the last matching mount
* is returned.
*
- * Returns: (transfer full): a #GUnixMountEntry.
+ * Returns: (transfer full) (nullable): a #GUnixMountEntry.
*
* Since: 2.52
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]