# HG changeset patch # User William Pitcock # Date 1183702095 18000 # Node ID 83727fbfec545e69a3f5d7480e7f02429118b64c # Parent cbbfdef7aea4f8388de9f94b55ee3ff5829cfa6e Use vfs_file_test() where appropriate. diff -r cbbfdef7aea4 -r 83727fbfec54 src/audacious/playlist.c --- 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);