GNOME Bugzilla – Bug 598266
vala doesn't expose async interfaces methods into headers
Last modified: 2010-02-12 10:01:44 UTC
If you compile a DBus interface into a library, the interfaces methods are not in the header file, which leads to compile errors. I attached a small example. command for compilation: valac --header=pc.h --library=pc --vapi=pc.vapi --pkg=dbus-glib-1 --pkg=gio-2.0 -C pc.vala
Created attachment 145354 [details] testcase
Created attachment 152898 [details] updated testcase it's not because it's dbus interface, it's because the method is async to compile use: valac --header=async_iface.h async_interface.vala --pkg=gio-2.0 -C
commit 5ec6ff7aa0de85419c156d26c8b1c72349c4878d Author: Jürg Billeter <j@bitron.ch> Date: Fri Feb 12 11:00:05 2010 +0100 GAsync: Declare functions for abstract async methods Fixes bug 598266.