summaryrefslogtreecommitdiff
path: root/pango/pango-glyph-item.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-20 21:03:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 21:03:11 -0400
commit42edc2780fc31719f90326febb5b44d2a7f58001 (patch)
treeec0b6f20afaf98802a41d10f40d58d8afa159894 /pango/pango-glyph-item.c
parente2d1a595b84ca31d89ae20734155e6d1de635502 (diff)
downloadpango-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.c8
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
*/