Mercurial > audlegacy
changeset 4592:bc30700268d3
Remove useless UTF-8 conversion, the strings are already guaranteed to be UTF-8.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 29 May 2008 01:01:44 +0300 |
parents | 44a552c67021 |
children | bc29f566be02 |
files | src/audacious/ui_fileinfo.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 */