gutils: Add missing (nullable) annotation to g_get_user_special_dir()

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #2529
This commit is contained in:
Philip Withnall 2021-11-16 12:05:53 +00:00
parent b4b5b3d029
commit 88ed83c61e

View File

@ -2235,9 +2235,9 @@ g_reload_user_special_dirs_cache (void)
* of the special directory without requiring the session to restart; GLib * of the special directory without requiring the session to restart; GLib
* will not reflect any change once the special directories are loaded. * will not reflect any change once the special directories are loaded.
* *
* Returns: (type filename): the path to the specified special directory, or * Returns: (type filename) (nullable): the path to the specified special
* %NULL if the logical id was not found. The returned string is owned by * directory, or %NULL if the logical id was not found. The returned string is
* GLib and should not be modified or freed. * owned by GLib and should not be modified or freed.
* *
* Since: 2.14 * Since: 2.14
*/ */