# HG changeset patch # User Matti Hamalainen # Date 1212012104 -10800 # Node ID bc30700268d31d6d650b2758085b9fcddff97e30 # Parent 44a552c67021817fcf9b6d8be3c0c8a1630b95d2 Remove useless UTF-8 conversion, the strings are already guaranteed to be UTF-8. diff -r 44a552c67021 -r bc30700268d3 src/audacious/ui_fileinfo.c --- a/src/audacious/ui_fileinfo.c Wed May 28 15:42:58 2008 +0200 +++ b/src/audacious/ui_fileinfo.c Thu May 29 01:01:44 2008 +0300 @@ -778,7 +778,7 @@ static void fileinfo_show_for_tuple(Tuple *tuple, gboolean updating_enabled) { - gchar *tmp, *tmp_utf = NULL; + gchar *tmp = NULL; GdkPixbuf *icon = NULL; GtkTreeIter iter; GtkListStore *store; @@ -810,11 +810,8 @@ tuple_get_string(tuple, FIELD_FILE_NAME, NULL)); if (tmp) { - tmp_utf = str_to_utf8(tmp); - fileinfo_entry_set_text(entry_location, tmp_utf); - g_free(tmp_utf); + fileinfo_entry_set_text(entry_location, tmp); g_free(tmp); - tmp = NULL; } /* set empty string if field not availaible. --eugene */