diff src/sound.c @ 775:9614e69f68ca

[gaim-migrate @ 785] beep beep m beep beep m yeah! committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 28 Aug 2000 23:47:29 +0000
parents c9b66c710283
children 1d60fb2c3b3b
line wrap: on
line diff
--- a/src/sound.c	Mon Aug 28 18:49:17 2000 +0000
+++ b/src/sound.c	Mon Aug 28 23:47:29 2000 +0000
@@ -242,6 +242,11 @@
 	if (pid < 0)
 		return;
         else if (pid == 0) {
+		if (sound_options & OPT_SOUND_BEEP) {
+			gdk_beep();
+			_exit(0);
+		}
+
 #ifdef ESD_SOUND
                 /* ESD is our player of choice.  Are we OK to
                  * go there? */