tracker r1466 - in branches/indexer-split: . src/trackerd
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1466 - in branches/indexer-split: . src/trackerd
- Date: Wed, 21 May 2008 11:48:03 +0000 (UTC)
Author: carlosg
Date: Wed May 21 11:48:02 2008
New Revision: 1466
URL: http://svn.gnome.org/viewvc/tracker?rev=1466&view=rev
Log:
2008-05-21 Carlos Garnacho <carlos imendio com>
* src/trackerd/tracker-parser.c (strip_word): Also, don't check for
tracker->strip_accents, it doesn't exist anymore, and was always set
to TRUE.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/trackerd/tracker-parser.c
Modified: branches/indexer-split/src/trackerd/tracker-parser.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-parser.c (original)
+++ branches/indexer-split/src/trackerd/tracker-parser.c Wed May 21 11:48:02 2008
@@ -110,21 +110,18 @@
gint length,
guint32 *len)
{
- *len = length;
-
#ifdef HAVE_UNAC
- if (tracker->strip_accents) {
- gchar *s = NULL;
+ gchar *s = NULL;
- if (unac_string ("UTF-8", str, length, &s, &*len) != 0) {
- g_warning ("UNAC failed to strip accents");
- }
-
- return s;
+ if (unac_string ("UTF-8", str, length, &s, &*len) != 0) {
+ g_warning ("UNAC failed to strip accents");
}
-#endif
+ return s;
+#else
+ *len = length;
return NULL;
+#endif
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]