[tracker/gdbus: 8/43] tracker-explorer: Do not use deprecated Vala string API



commit fce59af9fa4d9a6d89476698f10a2c63f6380996
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]