[tracker] tests/functional-tests: Allow build of busy-handling test with old vala
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tests/functional-tests: Allow build of busy-handling test with old vala
- Date: Tue, 3 Aug 2010 10:02:07 +0000 (UTC)
commit a2de6368aeaca1f07edc5e06a4c526cc85d8d182
Author: Jürg Billeter <j bitron ch>
Date: Tue Aug 3 11:55:47 2010 +0200
tests/functional-tests: Allow build of busy-handling test with old vala
tests/functional-tests/busy-handling-test.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/busy-handling-test.vala b/tests/functional-tests/busy-handling-test.vala
index d838543..9f9885b 100644
--- a/tests/functional-tests/busy-handling-test.vala
+++ b/tests/functional-tests/busy-handling-test.vala
@@ -29,7 +29,7 @@
[DBus (name = "org.freedesktop.Tracker1.Resources")]
private interface Resources : GLib.Object {
[DBus (name = "SparqlQuery", timeout = 99999999999)]
- public abstract async string[,] sparql_query_async (string query) throws DBus.Error;
+ public abstract async string[,] sparql_query (string query) throws DBus.Error;
}
[DBus (name = "org.freedesktop.Tracker1.Status")]
@@ -89,7 +89,7 @@ public class TestApp {
async void do_query_tests_async (string test_name) {
try {
int cnt = 0;
- string[,] results = yield resources_object.sparql_query_async ("SELECT ?u { ?u a rdfs:Resource }");
+ string[,] results = yield resources_object.sparql_query ("SELECT ?u { ?u a rdfs:Resource }");
foreach (string res in results) {
cnt++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]