diff src/madplug/plugin.c @ 2050:2ffc6a69fcd1

string API calls -> vtable
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 19:55:04 -0500
parents 47a7b26717d4
children b8da6a0b0da2
line wrap: on
line diff
--- a/src/madplug/plugin.c	Sun Oct 14 01:33:02 2007 +0300
+++ b/src/madplug/plugin.c	Sat Oct 13 19:55:04 2007 -0500
@@ -647,7 +647,7 @@
     gboolean local_fd = FALSE;
 
 #ifdef DEBUG
-    string = str_to_utf8(filename);
+    string = aud_str_to_utf8(filename);
     g_message("f: mad: audmad_get_song_tuple: %s", string);
     g_free(string);
     string = NULL;
@@ -666,7 +666,7 @@
             if(tmp){
                 gchar *scratch;
 
-                scratch = str_to_utf8(tmp);
+                scratch = aud_str_to_utf8(tmp);
                 aud_tuple_associate_string(tuple, FIELD_TITLE, NULL, scratch);
                 g_free(tmp);
                 g_free(scratch);
@@ -677,7 +677,7 @@
             if(tmp){
                 gchar *scratch;
 
-                scratch = str_to_utf8(tmp);
+                scratch = aud_str_to_utf8(tmp);
                 aud_tuple_associate_string(tuple, FIELD_TITLE, NULL, scratch);
                 g_free(tmp);
                 g_free(scratch);