Incorrect annotation of GApplication's "open" signal
Currently, the "files" argument (GFile **files
) is parsed as
<parameter name="files" transfer-ownership="none">
<doc xml:space="preserve">an array of #GFiles</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="File"/>
</array>
</parameter>
That is, as a flat array of GFiles. With the patch applied, it is parsed as
<parameter name="files" transfer-ownership="none">
<doc xml:space="preserve">an array of #GFiles</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="File" c:type="gpointer"/>
</array>
</parameter>
That is, as an array of GFiles pointers. This seems to be the correct parse.
Original issue: bug 796272.
Edited by Emmanuele Bassi