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-context.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-context.c')
-rw-r--r-- | pango/pango-context.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index ff95b5c2..6f72653b 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -203,10 +203,9 @@ pango_context_set_matrix (PangoContext *context, * Gets the transformation matrix that will be applied when * rendering with this context. See pango_context_set_matrix(). * - * Return value: the matrix, or %NULL if no matrix has been set - * (which is the same as the identity matrix). The returned - * matrix is owned by Pango and must not be modified or - * freed. + * Return value: (nullable): the matrix, or %NULL if no matrix has + * been set (which is the same as the identity matrix). The returned + * matrix is owned by Pango and must not be modified or freed. * * Since: 1.6 **/ @@ -309,8 +308,8 @@ pango_context_list_families (PangoContext *context, * Loads the font in one of the fontmaps in the context * that is the closest match for @desc. * - * Returns: (transfer full): the newly allocated #PangoFont that - * was loaded, or %NULL if no font matched. + * Returns: (transfer full) (nullable): the newly allocated #PangoFont + * that was loaded, or %NULL if no font matched. **/ PangoFont * pango_context_load_font (PangoContext *context, @@ -331,8 +330,8 @@ pango_context_load_font (PangoContext *context, * Load a set of fonts in the context that can be used to render * a font matching @desc. * - * Returns: (transfer full): the newly allocated #PangoFontset loaded, - * or %NULL if no font matched. + * Returns: (transfer full) (nullable): the newly allocated + * #PangoFontset loaded, or %NULL if no font matched. **/ PangoFontset * pango_context_load_fontset (PangoContext *context, |