GNOME Bugzilla – Bug 614045
gio-2.0: Contains *_finish functions in interfaces, although * functions are async
Last modified: 2010-06-28 19:19:15 UTC
It's currently not possible to implement interfaces from gio-2.0 because it contains definitions such as: public abstract async bool eject (...) throws GLib.Error; public abstract bool eject_finish (...) throws GLib.Error; This can't be implemented, because if one implements eject(); eject_finish() is implemented by Vala automatically.
Created attachment 157630 [details] [review] vapigen: hide async *_finish methods
Created attachment 157631 [details] [review] gdk-2.0, gio-2.0, libgdata: regenerate bindings
commit 07842b163a84c993bd3518654e8302a46ded4dfc Author: Evan Nemerson <evan@coeus-group.com> Date: Wed Mar 31 11:50:51 2010 -0700 vapigen: Hide async *_finish methods Fixes bug 614045.