vfs/vfs.c: Replace str_conv_t to GIConv

This commit is contained in:
Slava Zanko 2009-04-15 17:11:00 +03:00
parent cada92062a
commit f9ab791ac8

View File

@ -67,7 +67,7 @@ struct vfs_openfile {
struct vfs_dirinfo{
DIR *info;
str_conv_t converter;
GIConv converter;
};
@ -383,14 +383,14 @@ vfs_supported_enconding (const char *encoding) {
*/
static int
_vfs_translate_path (const char *path, int size,
str_conv_t defcnv, GString *buffer)
GIConv defcnv, GString *buffer)
{
const char *semi;
const char *ps;
const char *slash;
int state = 0;
static char encoding[16];
str_conv_t coder;
GIConv coder;
int ms;
if (size == 0) return 0;