changeset 4576:c7569367ed87

[gaim-migrate @ 4857] "Sender: darkrain I tried your patch, but my system (debian unstable) barfed building it. The first problem was that sound.h was included before gaim.h, so I moved it to be included after gaim.h. Then, I changed the other line (the one about playing the actualy sound) to read: gaim_sound_play_event(GAIM_SOUND_POUNCE_DEFAULT); " now it should actually work :-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 12 Feb 2003 03:12:03 +0000
parents 1b52e29f1ffb
children 00e46bfa0eba
files plugins/mailchk.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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!");