Skip to content

gvariant-parser: Mention annotated types

Guido Günther requested to merge guidog/glib:gvariant-parse-detail into main

g_variant_parse() supports g_variant_printf()s type annotations which can be needed e.g. in detailed action names.

This didn't occur to me when following the links from gtk_application_set_accels_for_action() -> g_action_parse_detailed_name() -> g_variant_parse(). This was fueled by two things:

The format is described here.

not being a link and the lack of an example. Hopefully this MR improves on that.

Reference: gtk#6303 (comment 1958300)

Merge request reports