diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 21:03:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-20 21:03:11 -0400 |
commit | 42edc2780fc31719f90326febb5b44d2a7f58001 (patch) | |
tree | ec0b6f20afaf98802a41d10f40d58d8afa159894 /pango/pangocairo-font.c | |
parent | e2d1a595b84ca31d89ae20734155e6d1de635502 (diff) | |
download | pango-42edc2780fc31719f90326febb5b44d2a7f58001.tar.gz |
docs: Reduce redundancydocs-cleanups
Remove a boatload of "or %NULL" from nullable parameters
and return values. gi-docgen generates suitable text from
the annotation that we don't need to duplicate.
Diffstat (limited to 'pango/pangocairo-font.c')
-rw-r--r-- | pango/pangocairo-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c index c4155f68..69c375c3 100644 --- a/pango/pangocairo-font.c +++ b/pango/pangocairo-font.c @@ -137,14 +137,14 @@ done: /** * pango_cairo_font_get_scaled_font: - * @font: a `PangoFont` from a `PangoCairoFontMap` + * @font: (nullable): a `PangoFont` from a `PangoCairoFontMap` * * Gets the `cairo_scaled_font_t` used by @font. * The scaled font can be referenced and kept using * cairo_scaled_font_reference(). * * Return value: (transfer none) (nullable): the `cairo_scaled_font_t` - * used by @font, or %NULL if @font is %NULL. + * used by @font * * Since: 1.18 */ |