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/pangofc-fontmap.h | |
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/pangofc-fontmap.h')
-rw-r--r-- | pango/pangofc-fontmap.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h index 3948b1f1..612996c8 100644 --- a/pango/pangofc-fontmap.h +++ b/pango/pangofc-fontmap.h @@ -102,10 +102,10 @@ struct _PangoFcFontMap /** * PangoFcFontMapClass: - * @default_substitute: Substitutes in default values for - * unspecified fields in a #FcPattern. This will be called - * prior to creating a font for the pattern. May be %NULL. - * Deprecated in favor of @font_key_substitute(). + * @default_substitute: (nullable): Substitutes in default + * values for unspecified fields in a #FcPattern. This will + * be called prior to creating a font for the pattern. May be + * %NULL. Deprecated in favor of @font_key_substitute(). * @new_font: Creates a new #PangoFcFont for the specified * pattern of the appropriate type for this font map. The * @pattern argument must be passed to the "pattern" property @@ -128,17 +128,17 @@ struct _PangoFcFontMap * @context_key_copy. * @context_key_hash: Gets a hash value for a context key * @context_key_equal: Compares two context keys for equality. - * @fontset_key_substitute: Substitutes in default values for - * unspecified fields in a #FcPattern. This will be called - * prior to creating a font for the pattern. May be %NULL. - * (Since: 1.24) - * @create_font: Creates a new #PangoFcFont for the specified - * pattern of the appropriate type for this font map using - * information from the font key that is passed in. The - * @pattern member of @font_key can be retrieved using - * pango_fc_font_key_get_pattern() and must be passed to - * the "pattern" property of #PangoFcFont when you call - * g_object_new(). If %NULL, new_font() is used. + * @fontset_key_substitute: (nullable): Substitutes in + * default values for unspecified fields in a + * #FcPattern. This will be called prior to creating a font + * for the pattern. May be %NULL. (Since: 1.24) + * @create_font: (nullable): Creates a new #PangoFcFont for + * the specified pattern of the appropriate type for this + * font map using information from the font key that is + * passed in. The @pattern member of @font_key can be + * retrieved using pango_fc_font_key_get_pattern() and must + * be passed to the "pattern" property of #PangoFcFont when + * you call g_object_new(). If %NULL, new_font() is used. * (Since: 1.24) * * Class structure for #PangoFcFontMap. |