Mercurial > pidgin.yaz
changeset 451:7b49c67e561c
[gaim-migrate @ 461]
sounds go through gnome should actually go thorugh gnome
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 30 Jun 2000 05:55:02 +0000 |
parents | e1c09b8c8bb1 |
children | 0a2eb65b6909 |
files | src/sound.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sound.c Fri Jun 30 05:00:12 2000 +0000 +++ b/src/sound.c Fri Jun 30 05:55:02 2000 +0000 @@ -266,7 +266,11 @@ extern int logins_not_muted; +#ifdef USE_APPLET +void applet_play_sound(int sound) +#else void play_sound(int sound) +#endif { switch(sound) { @@ -300,11 +304,11 @@ #ifdef USE_APPLET #include <gnome.h> -void applet_play_sound(int sound) +void play_sound(int sound) { if (!(sound_options & OPT_SOUND_THROUGH_GNOME)) { - play_sound(sound); + applet_play_sound(sound); return; }