Fix org.gtk.GDBus.C.UnixFD annotations

The annotation applies to the method as a whole, not to individual
arguments, so the existing annotations don't have any effect.

This was hidden by gdbus-codegen's automatic handling of arguments
of type 'h', but that change was reverted, resulting in a broken
build.
This commit is contained in:
Florian Müllner
2019-10-31 16:57:59 +01:00
parent b624ec8809
commit 6584fcd286
3 changed files with 9 additions and 15 deletions

View File

@ -29,10 +29,9 @@
The contents of @options are implementation specific.
-->
<method name="Start">
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
<arg type="a{sv}" name="options" direction="in"/>
<arg type="h" name="fd" direction="in">
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
</arg>
<arg type="h" name="fd" direction="in"/>
</method>
<!--
Stop: