[tracker/gdbus: 7/21] tracker-search-tool: Do not use deprecated Vala string API
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus: 7/21] tracker-search-tool: Do not use deprecated Vala string API
- Date: Wed, 27 Oct 2010 17:03:45 +0000 (UTC)
commit e4dda57c6fd36369b07a5a2adc550f6935851c5a
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]