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 638693 - GDBus: Invalid C code because Vala does not enforce error signature
GDBus: Invalid C code because Vala does not enforce error signature
Status: RESOLVED DUPLICATE of bug 643787
Product: vala
Classification: Core
Component: D-Bus
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-04 19:44 UTC by Michael 'Mickey' Lauer
Modified: 2011-04-07 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael 'Mickey' Lauer 2011-01-04 19:44:03 UTC
If you define an dbus interface or a class with a dbus interface but forget to define an error signature (i.e. throws DBusError, IOError) then Vala creates invalid C code (error parameter not found).

Vala should enfore dbus methods throwing DBusError and IOError.
Comment 1 Jürg Billeter 2011-04-07 13:55:19 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 643787 ***