diff options
Diffstat (limited to 'src/freedesktop-interfaces.vala')
-rw-r--r-- | src/freedesktop-interfaces.vala | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/freedesktop-interfaces.vala b/src/freedesktop-interfaces.vala index b74f52b..b8fdfc7 100644 --- a/src/freedesktop-interfaces.vala +++ b/src/freedesktop-interfaces.vala @@ -1,25 +1,27 @@ /* Copyright 2010 Canonical Ltd. +Copyright 2021 Robert Tari Authors: Conor Curran <conor.curran@canonical.com> + Robert Tari <robert@tari.in> -This program is free software: you can redistribute it and/or modify it -under the terms of the GNU General Public License version 3, as published +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranties of -MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License along +You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ [DBus (name = "org.freedesktop.DBus")] public interface FreeDesktopObject: Object { - public abstract async string[] list_names() throws IOError; + public abstract async string[] list_names() throws GLib.DBusError, GLib.IOError; public abstract signal void name_owner_changed ( string name, string old_owner, string new_owner ); @@ -27,7 +29,7 @@ public interface FreeDesktopObject: Object { [DBus (name = "org.freedesktop.DBus.Introspectable")] public interface FreeDesktopIntrospectable: Object { - public abstract string Introspect() throws IOError; + public abstract string Introspect() throws GLib.DBusError, GLib.IOError; } [DBus (name = "org.freedesktop.DBus.Properties")] |