changeset 4575:1b52e29f1ffb

[gaim-migrate @ 4856] Paul A (darkrain) pointed out that mailck.c wasn't updated for the new sounds. as he repeatedly failed to attach a usable patch, this is my attempt to reproduce his changes based on the comments he posted. it at very least compiles, so it should be no _worse_ off. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 11 Feb 2003 23:55:33 +0000
parents 57e939c91f72
children c7569367ed87
files plugins/mailchk.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mailchk.c	Tue Feb 11 20:10:03 2003 +0000
+++ b/plugins/mailchk.c	Tue Feb 11 23:55:33 2003 +0000
@@ -1,4 +1,5 @@
 #include "config.h"
+#include "sound.h"
 
 #ifndef GAIM_PLUGINS
 #define GAIM_PLUGINS
@@ -74,7 +75,7 @@
 	}
 
 	if (count & NEW_MAIL)
-		play_sound(SND_POUNCE_DEFAULT);
+		gaim_sound_play(SND_POUNCE_DEFAULT);
 
 	if (count & UNREAD_MAIL)
 		gtk_label_set_text(GTK_LABEL(mail), "You have new mail!");