vala: Issue a warning on DBus methods which are not throwing an Error
commit07c8865d0d86d1b73e9e4247e998ec2d03d0ebf2
authorDr. Michael Lauer <mickey@vanille-media.de>
Sun, 11 Feb 2018 16:18:35 +0000 (11 17:18 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 11 Feb 2018 20:06:40 +0000 (11 21:06 +0100)
treeb1dfa9dbb96b5ef3584d7ed4a12d9ca17b52cf23
parent2189d6e6e7b0f6778bb99c4d3aca381a40866c10
vala: Issue a warning on DBus methods which are not throwing an Error

It is recommended to throw "GLib.Error" or "GLib.DBusError, GLib.IOError".
This will be turned into an error at some point.

https://bugzilla.gnome.org/show_bug.cgi?id=792277
tests/Makefile.am
tests/dbus/bug792277.vala [new file with mode: 0644]
vala/valamethod.vala