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/pango-layout.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/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 1ac44986..a59e0ac0 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -753,8 +753,6 @@ pango_layout_set_font_description (PangoLayout *layout, * Return value: (transfer none) (nullable): a pointer to the * layout's font description, or %NULL if the font description * from the layout's context is inherited. - * This value is owned by the layout and must not be modified - * or freed. * * Since: 1.8 */ @@ -5240,9 +5238,9 @@ pango_layout_line_get_extents_and_height (PangoLayoutLine *line, * pango_layout_line_get_extents: * @line: a `PangoLayoutLine` * @ink_rect: (out) (optional): rectangle used to store the extents of - * the glyph string as drawn, or %NULL + * the glyph string as drawn * @logical_rect: (out) (optional): rectangle used to store the logical - * extents of the glyph string, or %NULL + * extents of the glyph string * * Computes the logical and ink extents of a layout line. * |