changeset 1507:3f4a74858aa0

- make use of tuple_formatter_make_title_string(). - warning suppression.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 19 Aug 2007 19:38:11 +0900
parents d603becf76e0
children a99d8f3b3e7c
files src/tta/libtta.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/tta/libtta.c	Sat Aug 18 14:18:34 2007 -0500
+++ b/src/tta/libtta.c	Sun Aug 19 19:38:11 2007 +0900
@@ -72,7 +72,7 @@
 static void file_info (char *filename);
 static void about ();
 static Tuple *get_song_tuple(char *filename);
-static gchar *extname(const char *filename);
+//static gchar *extname(const char *filename);
 
 static GThread *decode_thread = NULL;
 static char sample_buffer[PCM_BUFFER_LENGTH * MAX_BSIZE * MAX_NCH];
@@ -177,7 +177,7 @@
 static gchar *
 get_song_title(Tuple *tuple)
 {
-	return tuple_formatter_process_string(tuple, get_gentitle_format());
+	return tuple_formatter_make_title_string(tuple, get_gentitle_format());
 }
 
 static void
@@ -570,7 +570,6 @@
 	Tuple *tuple = NULL;
 	tta_info *ttainfo;
 	VFSFile *file;
-	gchar *realfn = NULL;
 
 	ttainfo = g_malloc0(sizeof(tta_info));
 
@@ -610,6 +609,7 @@
 	return tuple;
 }
 
+#if 0
 static gchar *
 extname(const char *filename)
 {
@@ -620,6 +620,7 @@
 
 	return ext;
 }
+#endif
 
 /* return length in letters */
 size_t tta_ucs4len(id3_ucs4_t *ucs)