gapplication: Improve formatting of variant formats in documentation

This makes the documentation a little easier to read.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-02-24 08:53:10 +00:00
parent 325f1e3eb5
commit b604f008f7

View File

@ -701,14 +701,14 @@ add_packed_option (GApplication *application,
* *
* It is important to use the proper GVariant format when retrieving * It is important to use the proper GVariant format when retrieving
* the options with g_variant_dict_lookup(): * the options with g_variant_dict_lookup():
* - for %G_OPTION_ARG_NONE, use b * - for %G_OPTION_ARG_NONE, use `b`
* - for %G_OPTION_ARG_STRING, use &s * - for %G_OPTION_ARG_STRING, use `&s`
* - for %G_OPTION_ARG_INT, use i * - for %G_OPTION_ARG_INT, use `i`
* - for %G_OPTION_ARG_INT64, use x * - for %G_OPTION_ARG_INT64, use `x`
* - for %G_OPTION_ARG_DOUBLE, use d * - for %G_OPTION_ARG_DOUBLE, use `d`
* - for %G_OPTION_ARG_FILENAME, use ^&ay * - for %G_OPTION_ARG_FILENAME, use `^&ay`
* - for %G_OPTION_ARG_STRING_ARRAY, use ^a&s * - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`
* - for %G_OPTION_ARG_FILENAME_ARRAY, use ^a&ay * - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`
* *
* Since: 2.40 * Since: 2.40
*/ */