[tracker/gdbus: 8/12] tracker-search-tool: Do not use deprecated Vala string API



commit aef0efb105df270694dc189a11fe3ccfa509baa6
Author: Jürg Billeter <j bitron ch>
Date:   Mon Oct 25 10:39:11 2010 +0200

    tracker-search-tool: Do not use deprecated Vala string API

 src/tracker-search-tool/tracker-entry.gs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-entry.gs b/src/tracker-search-tool/tracker-entry.gs
index e1de72a..352cb36 100644
--- a/src/tracker-search-tool/tracker-entry.gs
+++ b/src/tracker-search-tool/tracker-entry.gs
@@ -70,7 +70,7 @@ class TrackerSearchEntry  : ComboBoxEntry implements Gtk.Activatable
         try
             FileUtils.get_contents(histfilename, out temp)
             for item in temp.split("\n")
-                if item.len() > TOO_SHORT
+                if item.length > TOO_SHORT
                     prepend_text(item)
                     history.add(item)
         except e : FileError
@@ -112,7 +112,7 @@ class TrackerSearchEntry  : ComboBoxEntry implements Gtk.Activatable
          */
         txt = txt.normalize(-1, NormalizeMode.NFC)
 
-        if txt.len() > TOO_SHORT
+        if txt.length > TOO_SHORT
 
             /* do not store duplicate items in history */
             for item in history



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]