diff options
author | Philip Withnall <withnall@endlessm.com> | 2020-02-24 08:53:10 +0000 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2020-02-24 10:16:38 +0000 |
commit | b604f008f776083f336cb622ab3b25272fc7c164 (patch) | |
tree | e9555b8d2019a535d8eddea688d729c1b25f3737 /gio/gapplication.c | |
parent | 325f1e3eb54d3969d3be104481fa1097ffa37d7b (diff) | |
download | glib-b604f008f776083f336cb622ab3b25272fc7c164.tar.gz |
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>
Diffstat (limited to 'gio/gapplication.c')
-rw-r--r-- | gio/gapplication.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c index 695a74f5f..c884ade97 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -701,14 +701,14 @@ add_packed_option (GApplication *application, * * It is important to use the proper GVariant format when retrieving * the options with g_variant_dict_lookup(): - * - for %G_OPTION_ARG_NONE, use b - * - for %G_OPTION_ARG_STRING, use &s - * - 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 ^a&s - * - for %G_OPTION_ARG_FILENAME_ARRAY, use ^a&ay + * - for %G_OPTION_ARG_NONE, use `b` + * - for %G_OPTION_ARG_STRING, use `&s` + * - 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 `^a&s` + * - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay` * * Since: 2.40 */ |