[tracker/libtracker-sparql: 10/41] libtracker-sparql: Use GError for async methods in Connection abstract class
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-sparql: 10/41] libtracker-sparql: Use GError for async methods in Connection abstract class
- Date: Mon, 9 Aug 2010 15:59:31 +0000 (UTC)
commit 79b84bdf260f9b01b85e04bea6efc4aef3cac01f
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jul 13 15:28:15 2010 +0100
libtracker-sparql: Use GError for async methods in Connection abstract class
src/libtracker-sparql/tracker-connection.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index ffe457c..c82e59d 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -26,7 +26,7 @@ public abstract class Tracker.Sparql.Connection : Object {
public virtual void update (string sparql, Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'update' not implemented");
}
- public async virtual void update_async (string sparql, int? priority = GLib.Priority.DEFAULT, Cancellable? cancellable = null) {
+ public async virtual void update_async (string sparql, int? priority = GLib.Priority.DEFAULT, Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'update_async' not implemented");
}
@@ -35,7 +35,7 @@ public abstract class Tracker.Sparql.Connection : Object {
public virtual void update_commit (Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'update_commit' not implemented");
}
- public async virtual void update_commit_async (Cancellable? cancellable = null) {
+ public async virtual void update_commit_async (Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'update_commit_async' not implemented");
}
@@ -43,7 +43,7 @@ public abstract class Tracker.Sparql.Connection : Object {
public virtual void import (string uri, Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'import' not implemented");
}
- public async virtual void import_async (string uri, Cancellable? cancellable = null) {
+ public async virtual void import_async (string uri, Cancellable? cancellable = null) throws GLib.Error {
warning ("Interface 'import_async' not implemented");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]