From 42edc2780fc31719f90326febb5b44d2a7f58001 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 20 May 2021 21:03:11 -0400 Subject: docs: Reduce redundancy 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. --- pango/pango-markup.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pango/pango-markup.c') diff --git a/pango/pango-markup.c b/pango/pango-markup.c index 3728d3b3..258ca717 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -602,10 +602,10 @@ pango_markup_parser_new_internal (char accel_marker, * @markup_text: markup to parse (see the Pango Markup docs) * @length: length of @markup_text, or -1 if nul-terminated * @accel_marker: character that precedes an accelerator, or 0 for none - * @attr_list: (out) (optional): address of return location for a `PangoAttrList`, or %NULL - * @text: (out) (optional): address of return location for text with tags stripped, or %NULL - * @accel_char: (out) (optional): address of return location for accelerator char, or %NULL - * @error: address of return location for errors, or %NULL + * @attr_list: (out) (optional): address of return location for a `PangoAttrList` + * @text: (out) (optional): address of return location for text with tags stripped + * @accel_char: (out) (optional): address of return location for accelerator char + * @error: address of return location for errors * * Parses marked-up text to create a plain-text string and an attribute list. * @@ -726,10 +726,10 @@ pango_markup_parser_new (gunichar accel_marker) /** * pango_markup_parser_finish: * @context: A valid parse context that was returned from [func@markup_parser_new] - * @attr_list: (out) (optional): address of return location for a `PangoAttrList`, or %NULL - * @text: (out) (optional): address of return location for text with tags stripped, or %NULL - * @accel_char: (out) (optional): address of return location for accelerator char, or %NULL - * @error: address of return location for errors, or %NULL + * @attr_list: (out) (optional): address of return location for a `PangoAttrList` + * @text: (out) (optional): address of return location for text with tags stripped + * @accel_char: (out) (optional): address of return location for accelerator char + * @error: address of return location for errors * * Finishes parsing markup. * -- cgit v1.2.1