Mercurial > audlegacy
changeset 2993:83727fbfec54 trunk
Use vfs_file_test() where appropriate.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Fri, 06 Jul 2007 01:08:15 -0500 |
parents | cbbfdef7aea4 |
children | 750c530b1bf5 |
files | src/audacious/playlist.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/playlist.c Thu Jul 05 12:24:30 2007 +0200 +++ b/src/audacious/playlist.c Fri Jul 06 01:08:15 2007 -0500 @@ -823,7 +823,7 @@ struct stat statbuf; DeviceInode *devino; - if (!g_file_test(path, G_FILE_TEST_IS_DIR)) + if (!vfs_file_test(path, G_FILE_TEST_IS_DIR)) return NULL; stat(path, &statbuf); @@ -858,7 +858,7 @@ filename = g_build_filename(path, dir_entry, NULL); - if (g_file_test(filename, G_FILE_TEST_IS_DIR)) { + if (vfs_file_test(filename, G_FILE_TEST_IS_DIR)) { GList *sub; sub = playlist_dir_find_files(filename, background, htab); g_free(filename);