[glib: 1/2] gutils: Add missing (nullable) annotation to g_get_user_special_dir()
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gutils: Add missing (nullable) annotation to g_get_user_special_dir()
- Date: Tue, 16 Nov 2021 12:30:08 +0000 (UTC)
commit 88ed83c61e1186f86ddb4238d90ffcdad24f291f
Author: Philip Withnall <pwithnall endlessos org>
Date: Tue Nov 16 12:05:53 2021 +0000
gutils: Add missing (nullable) annotation to g_get_user_special_dir()
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Fixes: #2529
glib/gutils.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index e4fffa4d2..b744f2510 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2235,9 +2235,9 @@ g_reload_user_special_dirs_cache (void)
* of the special directory without requiring the session to restart; GLib
* will not reflect any change once the special directories are loaded.
*
- * Returns: (type filename): the path to the specified special directory, or
- * %NULL if the logical id was not found. The returned string is owned by
- * GLib and should not be modified or freed.
+ * Returns: (type filename) (nullable): the path to the specified special
+ * directory, or %NULL if the logical id was not found. The returned string is
+ * owned by GLib and should not be modified or freed.
*
* Since: 2.14
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]