gapplication: Consistently use non-copying variant formats in docs

In particular, this fixes the invalid format string `&as`.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Fixes: #2044
This commit is contained in:
Philip Withnall 2020-02-24 08:52:13 +00:00
parent 73d557981d
commit 325f1e3eb5

View File

@ -706,9 +706,9 @@ add_packed_option (GApplication *application,
* - for %G_OPTION_ARG_INT, use i
* - for %G_OPTION_ARG_INT64, use x
* - for %G_OPTION_ARG_DOUBLE, use d
* - for %G_OPTION_ARG_FILENAME, use ^ay
* - for %G_OPTION_ARG_STRING_ARRAY, use &as
* - for %G_OPTION_ARG_FILENAME_ARRAY, use ^aay
* - for %G_OPTION_ARG_FILENAME, use ^&ay
* - for %G_OPTION_ARG_STRING_ARRAY, use ^a&s
* - for %G_OPTION_ARG_FILENAME_ARRAY, use ^a&ay
*
* Since: 2.40
*/