[tracker/direct-access: 41/158] 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/158] libtracker-sparql: Use GError for async methods in Connection abstract class
- Date: Thu, 5 Aug 2010 16:31:02 +0000 (UTC)
commit f0e85ff583e4c03e303542d686937f1cce19474d
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]