[tracker/direct-access: 40/85] 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: 40/85] libtracker-sparql: Use GError for async methods in Connection abstract class
- Date: Tue, 20 Jul 2010 14:07:59 +0000 (UTC)
commit be8565dcace0814206a59a5ee524e1025de71bea
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]