Created attachment 121074 [details] Patch There're no cname declarations for callback definitions, such as PulseAudio.Context.SubscribeCb in Vala's VAPI. It causes problems when you want to pass callback function as a parameter. Vala compiler tries to guess underlying C type name, and ends up with something like pa_context_SubscribeCb which is obviously not valid. The attached patch adds proper definitions, so it works fine.
Thanks, Marcin! I've pushed this out to our 'next' branch now and it'll be part of the next release (we're frozen for 8.0 right now).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.