After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614045 - gio-2.0: Contains *_finish functions in interfaces, although * functions are async
gio-2.0: Contains *_finish functions in interfaces, although * functions are ...
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-26 19:05 UTC by Julian Andres Klode
Modified: 2010-06-28 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vapigen: hide async *_finish methods (1.29 KB, patch)
2010-03-31 18:54 UTC, Evan Nemerson
none Details | Review
gdk-2.0, gio-2.0, libgdata: regenerate bindings (36.23 KB, patch)
2010-03-31 18:55 UTC, Evan Nemerson
none Details | Review

Description Julian Andres Klode 2010-03-26 19:05:43 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.
Comment 1 Evan Nemerson 2010-03-31 18:54:21 UTC
Created attachment 157630 [details] [review]
vapigen: hide async *_finish methods
Comment 2 Evan Nemerson 2010-03-31 18:55:19 UTC
Created attachment 157631 [details] [review]
gdk-2.0, gio-2.0, libgdata: regenerate bindings
Comment 3 Jürg Billeter 2010-06-28 19:19:15 UTC
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.