Use g_filename_display_name instead of g_filename_to_utf8

master
Yevgen Muntyan 2007-04-09 05:01:20 -05:00
parent 683dd9e763
commit 835ee73b41
1 changed files with 1 additions and 3 deletions

View File

@ -307,9 +307,7 @@ lang_mgr_get_lang_for_bak_filename (MooLangMgr *mgr,
read_langs (mgr); read_langs (mgr);
utf8_name = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL); utf8_name = g_filename_display_name (filename);
g_return_val_if_fail (utf8_name != NULL, NULL);
len = strlen (utf8_name); len = strlen (utf8_name);
for (i = 0; i < G_N_ELEMENTS (bak_globs); ++i) for (i = 0; i < G_N_ELEMENTS (bak_globs); ++i)