plugins/mailchk.c

changeset 4576
99c15f8a04ee
parent 4575
779e8542efcf
child 4655
232f23f33b0a
--- a/plugins/mailchk.c	Tue Feb 11 23:55:33 2003 +0000
+++ b/plugins/mailchk.c	Wed Feb 12 03:12:03 2003 +0000
@@ -1,11 +1,11 @@
 #include "config.h"
-#include "sound.h"
 
 #ifndef GAIM_PLUGINS
 #define GAIM_PLUGINS
 #endif
 
 #include "gaim.h"
+#include "sound.h"
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
@@ -75,7 +75,7 @@
 	}
 
 	if (count & NEW_MAIL)
-		gaim_sound_play(SND_POUNCE_DEFAULT);
+		gaim_sound_play_event(GAIM_SOUND_POUNCE_DEFAULT);
 
 	if (count & UNREAD_MAIL)
 		gtk_label_set_text(GTK_LABEL(mail), "You have new mail!");

mercurial