[tracker/gdbus-evolution: 9/28] tracker-explorer: Do not use deprecated Vala string API
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-evolution: 9/28] tracker-explorer: Do not use deprecated Vala string API
- Date: Thu, 28 Oct 2010 08:29:56 +0000 (UTC)
commit f905acc9a04dd46a9ac95528a0f634f081e27233
Author: Jürg Billeter <j bitron ch>
Date: Mon Oct 25 10:41:10 2010 +0200
tracker-explorer: Do not use deprecated Vala string API
src/tracker-explorer/tracker-explorer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-explorer/tracker-explorer.vala b/src/tracker-explorer/tracker-explorer.vala
index e644e9e..98fe759 100644
--- a/src/tracker-explorer/tracker-explorer.vala
+++ b/src/tracker-explorer/tracker-explorer.vala
@@ -207,7 +207,7 @@ public class Explorer {
var result = tracker.SparqlQuery(query);
for (int i=0; i<result.length[0]; i++) {
string _namespace = result[i,0];
- _namespace = _namespace.substring(0, _namespace.len() -1);
+ _namespace = _namespace.substring(0, _namespace.length -1);
namespaces[_namespace] = result[i,1];
}
} catch (DBus.Error e) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]