diff options
author | Matthias Berndt <matthias_berndt@gmx.de> | 2016-10-04 11:08:39 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-10-04 11:08:39 +0200 |
commit | 6446a48ac7d7a7cb524d0bb2f171cb2e11a206ad (patch) | |
tree | f07aecd309d543814a7f64d6e199a6148a21a923 /src/libtracker-sparql/tracker-connection.vala | |
parent | c6c102855529331555eebe7577e4d1c35497ba74 (diff) | |
download | tracker-6446a48ac7d7a7cb524d0bb2f171cb2e11a206ad.tar.gz |
Override Sparql.Connection.update_array_async() with correct return-type
"Error" is an unqualified identifier and can thus refer to different types
in different contexts. In the context of tracker-connection.vala it refers
to Tracker.Sparql.Error, in the context of tracker-bus.vala it refers to
GLib.Error.
https://bugzilla.gnome.org/show_bug.cgi?id=772381
Diffstat (limited to 'src/libtracker-sparql/tracker-connection.vala')
-rw-r--r-- | src/libtracker-sparql/tracker-connection.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala index 1e1749e5c..1c6b97683 100644 --- a/src/libtracker-sparql/tracker-connection.vala +++ b/src/libtracker-sparql/tracker-connection.vala @@ -373,7 +373,7 @@ public abstract class Tracker.Sparql.Connection : Object { * * Since: 0.10 */ - public async virtual GenericArray<Error?>? update_array_async (string[] sparql, int priority = GLib.Priority.DEFAULT, Cancellable? cancellable = null) throws Sparql.Error, GLib.Error, GLib.IOError, DBusError { + public async virtual GenericArray<Sparql.Error?>? update_array_async (string[] sparql, int priority = GLib.Priority.DEFAULT, Cancellable? cancellable = null) throws Sparql.Error, GLib.Error, GLib.IOError, DBusError { warning ("Interface 'update_array_async' not implemented"); return null; } |