summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-30 19:21:11 -0700
committerEvan Nemerson <evan@nemerson.com>2014-10-16 13:09:34 -0700
commitfa6ded9b0d065634481d8ae4126fdea0b88e3558 (patch)
tree151efb6762bf467ada2ac104770fdefd293b7248 /pango/pango-fontmap.c
parentadb5a4e86b09b0935ec1dd71bf05ac41807c84a2 (diff)
downloadpango-fa6ded9b0d065634481d8ae4126fdea0b88e3558.tar.gz
Add many missing nullability annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=731022
Diffstat (limited to 'pango/pango-fontmap.c')
-rw-r--r--pango/pango-fontmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index 50e23df0..2a2804b6 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -82,8 +82,8 @@ pango_font_map_create_context (PangoFontMap *fontmap)
*
* Load the font in the fontmap that is the closest match for @desc.
*
- * Returns: (transfer full): the newly allocated #PangoFont loaded,
- * or %NULL if no font matched.
+ * Returns: (transfer full) (nullable): the newly allocated #PangoFont
+ * loaded, or %NULL if no font matched.
**/
PangoFont *
pango_font_map_load_font (PangoFontMap *fontmap,
@@ -124,8 +124,8 @@ pango_font_map_list_families (PangoFontMap *fontmap,
* Load a set of fonts in the fontmap 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_font_map_load_fontset (PangoFontMap *fontmap,