Fix return values for async methods

Async methods should return "out" variables using dbus_g_method_return(),
not through function parameters. Fixes crashing using those functions.
This commit is contained in:
Bastien Nocera
2008-05-20 10:49:32 +01:00
committed by Daniel Drake
parent c63f624a26
commit 7f592dd2e4
2 changed files with 13 additions and 17 deletions

View File

@ -59,7 +59,7 @@
<arg type="u" name="storage_id" direction="in" />
<annotation name="org.freedesktop.DBus.GLib.Async" value="" />
</method>
<method name="ListEnrolledFingersFromStorage">
<arg type="s" name="username" direction="in" />
<arg type="au" name="enrolled_fingers" direction="out" />