[tracker/direct-access: 38/47] libtracker-sparql: Use GError for async methods in Connection abstract class
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 38/47] libtracker-sparql: Use GError for async methods in Connection abstract class
- Date: Wed, 14 Jul 2010 16:47:26 +0000 (UTC)
commit c8fbc05b21affe4e10cf69b635f62bf0cf7b1163
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]