gdbus-codegen places async out-parameters before AsyncResult parameter which is incompatible with vala
I can's seem to call any async methods in the GOA client library, doing so gives a Gtask error:
GLib-GIO: g_dbus_proxy_call_finish_internal: assertion 'g_task_is_valid (res, proxy)' failed
This is true of all async methods I have tried (E.g. Goa.Account.call_ensure_credentials()
, Goa.OAuth2Based.call_get_access_token()
Goa.PasswordBased.call_get_password()
) and in all cases, calling the sync version works fine.
Since it applies to a number of methods, and since GOA's client lib has a bunch of odd requirements for calling both sync and async methods, I assume this is a conflict with vala's async impl rather than a bug in GOA client lib itself?
Edited by Rico Tzschichholz