summaryrefslogtreecommitdiff
path: root/pango/pango-context.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-context.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-context.c')
-rw-r--r--pango/pango-context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 0db09459..561f55bf 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1549,7 +1549,7 @@ itemize_state_finish (ItemizeState *state)
* @length: the number of bytes (not characters) to process
* after @start_index. This must be >= 0.
* @attrs: the set of attributes that apply to @text.
- * @cached_iter: (nullable): Cached attribute iterator, or %NULL
+ * @cached_iter: (nullable): Cached attribute iterator
*
* Like `pango_itemize()`, but with an explicitly specified base direction.
*
@@ -1627,7 +1627,7 @@ itemize_with_font (PangoContext *context,
* @length: the number of bytes (not characters) to process
* after @start_index. This must be >= 0.
* @attrs: the set of attributes that apply to @text.
- * @cached_iter: (nullable): Cached attribute iterator, or %NULL
+ * @cached_iter: (nullable): Cached attribute iterator
*
* Breaks a piece of text into segments with consistent directional
* level and font.