# HG changeset patch # User Luke Schierer # Date 1045019523 0 # Node ID c7569367ed87c8c02f86560d376c6abf403b6389 # Parent 1b52e29f1ffb38de9fbf32da48cb8a5ddb17874a [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 diff -r 1b52e29f1ffb -r c7569367ed87 plugins/mailchk.c --- 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 #include #include @@ -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!");