[tracker/direct-access: 41/121] 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/direct-access: 41/121] libtracker-sparql: Use GError for async methods in Connection abstract class
- Date: Thu, 22 Jul 2010 14:46:01 +0000 (UTC)
commit 31dff013950517ff18c51acc8a7ca6220175344c
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]