summaryrefslogtreecommitdiff
path: root/pango/pango-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-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-item.c')
-rw-r--r--pango/pango-item.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pango/pango-item.c b/pango/pango-item.c
index d1caa771..ce38e6d2 100644
--- a/pango/pango-item.c
+++ b/pango/pango-item.c
@@ -42,13 +42,11 @@ pango_item_new (void)
/**
* pango_item_copy:
- * @item: (nullable): a `PangoItem`, may be %NULL
+ * @item: (nullable): a `PangoItem`
*
* Copy an existing `PangoItem` structure.
*
- * Return value: (nullable): the newly allocated `PangoItem`, which
- * should be freed with [method@Pango.Item.free], or %NULL if
- * @item was %NULL.
+ * Return value: (nullable): the newly allocated `PangoItem`
*/
PangoItem *
pango_item_copy (PangoItem *item)