[rygel] tracker: Adapt to new Vala version
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Adapt to new Vala version
- Date: Wed, 22 Jun 2011 11:05:04 +0000 (UTC)
commit 0a7cf2180e628cb9e9e0fc1c87d2cecdbf4c2f62
Author: Jens Georg <mail jensge org>
Date: Thu Apr 28 21:03:39 2011 +0300
tracker: Adapt to new Vala version
.../tracker/rygel-tracker-search-query.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-query.vala b/src/plugins/tracker/rygel-tracker-search-query.vala
index 12ecb66..438bca0 100644
--- a/src/plugins/tracker/rygel-tracker-search-query.vala
+++ b/src/plugins/tracker/rygel-tracker-search-query.vala
@@ -79,7 +79,7 @@ public class Rygel.Tracker.SearchQuery : Query {
var count_result = yield resources.sparql_query (str);
- return count_result[0,0].to_int ();
+ return int.parse (count_result[0,0]);
}
public override string to_string () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]