# HG changeset patch # User Sean Egan # Date 1149008547 0 # Node ID ecfd8fb02c196da5f5e4c4e26510747cf90792b0 # Parent 2a63b6b460cd65bc712a88973583e1380f7da0d0 [gaim-migrate @ 16206] We don't really need to pop up an error if the sound file doesn't exist committer: Tailor Script diff -r 2a63b6b460cd -r ecfd8fb02c19 src/gtksound.c --- a/src/gtksound.c Tue May 30 01:31:13 2006 +0000 +++ b/src/gtksound.c Tue May 30 17:02:27 2006 +0000 @@ -392,12 +392,8 @@ return; } - if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { - char *tmp = g_strdup_printf(_("Unable to play sound because the chosen file (%s) does not exist."), filename); - gaim_notify_error(NULL, NULL, tmp, NULL); - g_free(tmp); + if (!g_file_test(filename, G_FILE_TEST_EXISTS)) return; - } #ifndef _WIN32 if (!strcmp(method, "custom")) {