Mercurial > geeqie.yaz
diff src/ui_fileops.c @ 673:fbebf5cf4a55
Do not use printf() directly but use new wrapper function log_printf() instead.
author | zas_ |
---|---|
date | Fri, 16 May 2008 12:16:49 +0000 |
parents | 8268cbe682f1 |
children | 28af4b6dd9ef |
line wrap: on
line diff
--- a/src/ui_fileops.c Fri May 16 12:08:51 2008 +0000 +++ b/src/ui_fileops.c Fri May 16 12:16:49 2008 +0000 @@ -131,7 +131,7 @@ utf8 = g_filename_to_utf8(path, -1, NULL, NULL, &error); if (error) { - printf("Unable to convert filename to UTF-8:\n%s\n%s\n", path, error->message); + log_printf("Unable to convert filename to UTF-8:\n%s\n%s\n", path, error->message); g_error_free(error); encoding_dialog(path); } @@ -154,7 +154,7 @@ path = g_filename_from_utf8(utf8, -1, NULL, NULL, &error); if (error) { - printf("Unable to convert filename to locale from UTF-8:\n%s\n%s\n", utf8, error->message); + log_printf("Unable to convert filename to locale from UTF-8:\n%s\n%s\n", utf8, error->message); g_error_free(error); } if (!path)