Revision 626 libsylph/codeconv.c
| codeconv.c (revision 626) | ||
|---|---|---|
| 1981 | 1981 |
gchar *fs_file; |
| 1982 | 1982 |
GError *error = NULL; |
| 1983 | 1983 |
|
| 1984 |
g_return_val_if_fail(utf8_file != NULL, NULL); |
|
| 1985 |
|
|
| 1984 | 1986 |
fs_file = g_filename_from_utf8(utf8_file, -1, NULL, NULL, &error); |
| 1985 | 1987 |
if (error) {
|
| 1986 | 1988 |
g_warning("failed to convert encoding of file name: %s\n",
|
| ... | ... | |
| 1998 | 2000 |
gchar *utf8_file; |
| 1999 | 2001 |
GError *error = NULL; |
| 2000 | 2002 |
|
| 2003 |
g_return_val_if_fail(fs_file != NULL, NULL); |
|
| 2004 |
|
|
| 2001 | 2005 |
utf8_file = g_filename_to_utf8(fs_file, -1, NULL, NULL, &error); |
| 2002 | 2006 |
if (error) {
|
| 2003 | 2007 |
g_warning("failed to convert encoding of file name: %s\n",
|
Also available in: Unified diff