[gaim-migrate @ 16206]

Tue, 30 May 2006 17:02:27 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Tue, 30 May 2006 17:02:27 +0000
changeset 13796
1190fee04a37
parent 13795
77fb6edd6928
child 13797
aecee3068797

[gaim-migrate @ 16206]
We don't really need to pop up an error if the sound file doesn't exist

src/gtksound.c file | annotate | diff | comparison | revisions
--- 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")) {

mercurial