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-glyph-item.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-glyph-item.c')
-rw-r--r-- | pango/pango-glyph-item.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c index cbda8f09..5e6ca7b6 100644 --- a/pango/pango-glyph-item.c +++ b/pango/pango-glyph-item.c @@ -138,9 +138,7 @@ pango_glyph_item_split (PangoGlyphItem *orig, * * Make a deep copy of an existing `PangoGlyphItem` structure. * - * Return value: (nullable): the newly allocated `PangoGlyphItem`, - * which should be freed with pango_glyph_item_free(), or %NULL - * if @orig was %NULL. + * Return value: (nullable): the newly allocated `PangoGlyphItem` * * Since: 1.20 */ @@ -193,9 +191,7 @@ G_DEFINE_BOXED_TYPE (PangoGlyphItem, pango_glyph_item, * * Make a shallow copy of an existing `PangoGlyphItemIter` structure. * - * Return value: (nullable): the newly allocated `PangoGlyphItemIter`, - * which should be freed with pango_glyph_item_iter_free(), or %NULL - * if @orig was %NULL. + * Return value: (nullable): the newly allocated `PangoGlyphItemIter` * * Since: 1.22 */ |