[tracker/tracker-0.12: 160/202] tracker-extract-gstreamer: Use strcmp() not g_ascii_strcasecmp() for artists



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]