[tracker/direct-access: 40/40] libtracker-direct: Adapt to libtracker-sparql changes
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 40/40] libtracker-direct: Adapt to libtracker-sparql changes
- Date: Fri, 13 Aug 2010 11:48:40 +0000 (UTC)
commit 8ec61e99bda297e5db793d9e3a3a45f4ffc03251
Author: Jürg Billeter <j bitron ch>
Date: Fri Aug 13 12:20:21 2010 +0200
libtracker-direct: Adapt to libtracker-sparql changes
src/libtracker-direct/tracker-direct.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-direct/tracker-direct.vala b/src/libtracker-direct/tracker-direct.vala
index 1141af3..1a939aa 100644
--- a/src/libtracker-direct/tracker-direct.vala
+++ b/src/libtracker-direct/tracker-direct.vala
@@ -37,7 +37,7 @@ public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
}
}
- public override Sparql.Cursor? query (string sparql, Cancellable? cancellable) throws Sparql.Error {
+ public override Sparql.Cursor query (string sparql, Cancellable? cancellable) throws Sparql.Error, IOError {
try {
var query_object = new Sparql.Query (sparql);
var cursor = query_object.execute_cursor ();
@@ -50,7 +50,7 @@ public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
}
}
- public async override Sparql.Cursor? query_async (string sparql, Cancellable? cancellable = null) throws Sparql.Error {
+ public async override Sparql.Cursor query_async (string sparql, Cancellable? cancellable = null) throws Sparql.Error, IOError {
// just creating the cursor won't block
return query (sparql, cancellable);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]