[tracker/tracker-0.12: 160/202] tracker-extract-gstreamer: Use strcmp() not g_ascii_strcasecmp() for artists
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12: 160/202] tracker-extract-gstreamer: Use strcmp() not g_ascii_strcasecmp() for artists
- Date: Thu, 6 Oct 2011 18:01:54 +0000 (UTC)
commit 719d9bde55b6af738fd84fc7d546711bf9ce1202
Author: Martyn Russell <martyn lanedo com>
Date: Fri Sep 30 14:20:12 2011 +0100
tracker-extract-gstreamer: Use strcmp() not g_ascii_strcasecmp() for artists
This breaks the way artist URIs are formed/used otherwise.
src/tracker-extract/tracker-extract-gstreamer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 9091939..34736af 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -174,7 +174,7 @@ add_artist (MetadataExtractor *extractor,
*p_artist_uri = tracker_sparql_escape_uri_printf ("urn:artist:%s", artist_name);
/* Check if already added to the preupdate, to avoid sending 9 identical INSERTs */
- if (g_slist_find_custom (extractor->artist_list, artist_name, (GCompareFunc) g_ascii_strcasecmp))
+ if (g_slist_find_custom (extractor->artist_list, artist_name, (GCompareFunc) strcmp))
return;
tracker_sparql_builder_insert_open (preupdate, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]