[tracker/gdbus-evolution: 8/28] tracker-search-tool: 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: 8/28] tracker-search-tool: Do not use deprecated Vala string API
- Date: Thu, 28 Oct 2010 08:29:51 +0000 (UTC)
commit 402f4e2de4cb47dd2a6fc4bd762c8dbca98d51e6
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]