mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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:
commit
d40275ceb7
@ -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 &as
|
||||
* - for %G_OPTION_ARG_FILENAME_ARRAY, use ^aay
|
||||
* - 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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user