summaryrefslogtreecommitdiff
path: root/pango/pango-tabs.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-tabs.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-tabs.c')
-rw-r--r--pango/pango-tabs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index 1bb65621..0792cd5a 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -292,8 +292,8 @@ pango_tab_array_set_tab (PangoTabArray *tab_array,
* pango_tab_array_get_tab:
* @tab_array: a `PangoTabArray`
* @tab_index: tab stop index
- * @alignment: (out) (optional): location to store alignment, or %NULL
- * @location: (out) (optional): location to store tab position, or %NULL
+ * @alignment: (out) (optional): location to store alignment
+ * @location: (out) (optional): location to store tab position
*
* Gets the alignment and position of a tab stop.
*/
@@ -318,9 +318,9 @@ pango_tab_array_get_tab (PangoTabArray *tab_array,
* pango_tab_array_get_tabs:
* @tab_array: a `PangoTabArray`
* @alignments: (out) (optional): location to store an array of tab
- * stop alignments, or %NULL
+ * stop alignments
* @locations: (out) (optional) (array): location to store an array
- * of tab positions, or %NULL
+ * of tab positions
*
* If non-%NULL, @alignments and @locations are filled with allocated
* arrays.