Skip to content

gicon: Add introspection for to_tokens / from_tokens vfunc's

Marco Trevisan requested to merge 3v1n0/glib:gicon-introspect-vfuncs into main

The GIconIface virtual functions were not introspectable as they use complex parameters that GI isn't able to compute alone.

So provide introspection metadata to the two function pointers definitions.

GIcon::from_tokens is a static virtual function so it won't actually work until GI support for it [1] is merged.

[1] gobject-introspection!361

Merge request reports