pidgin/gtksound.c

changeset 35850
1abeda205d6c
parent 35454
cf2a24d01503
child 36081
6764e037a308
--- a/pidgin/gtksound.c	Tue Apr 15 03:36:58 2014 +0200
+++ b/pidgin/gtksound.c	Tue Apr 15 16:51:42 2014 +0200
@@ -630,11 +630,11 @@
 			}
 		}
 
-		if (!filename || !strlen(filename)) {			    /* Use Default sounds */
+		if (!filename || !strlen(filename)) { /* Use Default sounds */
 			g_free(filename);
 
-			/* XXX Consider creating a constant for "sounds/purple" to be shared with Finch */
-			filename = g_build_filename(DATADIR, "sounds", "purple", sounds[event].def, NULL);
+			filename = g_build_filename(PURPLE_DATADIR,
+				"sounds", "purple", sounds[event].def, NULL);
 		}
 
 		purple_sound_play_file(filename, NULL);

mercurial