Wrong parameter type for g_simple_proxy_resolver_set_ignore_hosts
The currently shipping Gio-2.0.typelib
specifies utf8
as the type of the ignore_hosts
parameter of method set_ignore_hosts
of class SimpleProxyResolver
. This is wrong; this parameter is a NULL-terminated array of strings.
I tried to fix this by adding (array zero-terminated=1) (element-type utf8)
in gir/gio-2.0.c
but that did not seem to have an effect on the type of the parameter mentioned in $PREFIX/share/gir-1.0/Gio-2.0.gir
.