gtk/gtksound.c

changeset 15400
83628f1c372d
parent 15399
f310ffdcd9da
child 20470
77693555855f
child 20472
6a6d2ef151e6
--- a/gtk/gtksound.c	Mon Jan 15 19:03:37 2007 +0000
+++ b/gtk/gtksound.c	Mon Jan 15 19:24:50 2007 +0000
@@ -527,7 +527,7 @@
 
 	/* check NULL for sounds that don't have an option, ie buddy pounce */
 	if (gaim_prefs_get_bool(enable_pref)) {
-		char *filename = g_strdup(gaim_prefs_get_string(file_pref));
+		char *filename = g_strdup(gaim_prefs_get_path(file_pref));
 		if(!filename || !strlen(filename)) {
 			g_free(filename);
 			filename = g_build_filename(DATADIR, "sounds", "gaim", sounds[event].def, NULL);

mercurial