Merge branch '2529-special-dirs-annotation' into 'main'

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

Closes #2529

See merge request GNOME/glib!2334
This commit is contained in:
Sebastian Dröge 2021-11-16 12:30:08 +00:00
commit e9acc6a7f9

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
*/ */