diff options
author | Evan Nemerson <evan@nemerson.com> | 2014-05-30 19:21:11 -0700 |
---|---|---|
committer | Evan Nemerson <evan@nemerson.com> | 2014-10-16 13:09:34 -0700 |
commit | fa6ded9b0d065634481d8ae4126fdea0b88e3558 (patch) | |
tree | 151efb6762bf467ada2ac104770fdefd293b7248 /pango/pango-utils.c | |
parent | adb5a4e86b09b0935ec1dd71bf05ac41807c84a2 (diff) | |
download | pango-fa6ded9b0d065634481d8ae4126fdea0b88e3558.tar.gz |
Add many missing nullability annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=731022
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 3dfcebde..591ac5bd 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -128,10 +128,10 @@ pango_version_string (void) * * For compile-time version checking use PANGO_VERSION_CHECK(). * - * Return value: %NULL if the Pango library is compatible with the - * given version, or a string describing the version mismatch. - * The returned string is owned by Pango and should not be modified - * or freed. + * Return value: (nullable): %NULL if the Pango library is compatible + * with the given version, or a string describing the version + * mismatch. The returned string is owned by Pango and should not + * be modified or freed. * * Since: 1.16 **/ @@ -666,8 +666,8 @@ read_config (void) * Looks up a key, consulting only the Pango system config database * in $sysconfdir/pango/pangorc. * - * Return value: the value, if found, otherwise %NULL. The value is a - * newly-allocated string and must be freed with g_free(). + * Return value: (nullable): the value, if found, otherwise %NULL. The + * value is a newly-allocated string and must be freed with g_free(). **/ char * pango_config_key_get_system (const char *key) @@ -692,8 +692,8 @@ pango_config_key_get_system (const char *key) * (pseudo-win.ini style, read from $sysconfdir/pango/pangorc, * $XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).) * - * Return value: the value, if found, otherwise %NULL. The value is a - * newly-allocated string and must be freed with g_free(). + * Return value: (nullable): the value, if found, otherwise %NULL. The + * value is a newly-allocated string and must be freed with g_free(). **/ char * pango_config_key_get (const char *key) |