const qualifier dropped from c:type on (type filename) parameters
Submitted by Mikhail Zabaluev
Link to original bug (#792340)
Description
A const char* parameter annotated as (type filename) gets introspected with a mangled c:type where the "const" qualifier is missing.
This is in g_bookmark_file_load_from_data_dirs():
`<parameter name="file" transfer-ownership="none">`
<doc xml:space="preserve">a relative path to a filename to open and parse`</doc>`
<type name="filename" c:type="gchar*"/>
`</parameter>`
In earlier glib versions, the same parameter was not annotated and defaulted to (type utf8). Then c:type was the correct "const gchar*".