changeset 13797:d0128f0efe96

[gaim-migrate @ 16209] SimGuy pointed out that the gaim_debug functions take format strings. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 30 May 2006 22:21:00 +0000
parents 98e65e6a5c32
children 24b768639db5
files src/gtksound.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksound.c	Tue May 30 19:42:16 2006 +0000
+++ b/src/gtksound.c	Tue May 30 22:21:00 2006 +0000
@@ -393,9 +393,7 @@
 	}
 
 	if (!g_file_test(filename, G_FILE_TEST_EXISTS)) {
-		char *tmp = g_strdup_printf("sound file (%s) does not exist.\n", filename);
-		gaim_debug_error("gtksound", tmp);
-		g_free(tmp);
+		gaim_debug_error("gtksound", "sound file (%s) does not exist.\n", filename);
 		return;
 	}