Merge branch '2044-application-variant-docs' into 'master'

gapplication: Consistently use non-copying variant formats in docs

Closes #2044

See merge request GNOME/glib!1379
This commit is contained in:
Philip Withnall 2020-02-24 10:49:31 +00:00
commit d40275ceb7

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 &as * - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`
* - for %G_OPTION_ARG_FILENAME_ARRAY, use ^aay * - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`
* *
* Since: 2.40 * Since: 2.40
*/ */