diff src/sound.c @ 11552:11d30825c1bb

[gaim-migrate @ 13812] Source Forge patch 1273590 from Casey Harkins to move all sound playing events into gtksound.[ch] as well as a few other clean ups to make sure that all sounds are being played by the ui. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 17 Sep 2005 03:00:12 +0000
parents 2a132b73a6e6
children 8d0ac3c37831
line wrap: on
line diff
--- a/src/sound.c	Thu Sep 15 14:54:23 2005 +0000
+++ b/src/sound.c	Sat Sep 17 03:00:12 2005 +0000
@@ -54,12 +54,6 @@
 		sound_ui_ops->play_event(event);
 }
 
-static void
-sound_triggered_cb(GaimBuddy *buddy, GaimSoundEventID event)
-{
-	gaim_sound_play_event(event);
-}
-
 void
 gaim_sound_set_ui_ops(GaimSoundUiOps *ops)
 {
@@ -94,12 +88,6 @@
 	gaim_prefs_add_none("/core/sound");
 	gaim_prefs_add_bool("/core/sound/while_away", FALSE);
 
-	gaim_signal_connect(blist_handle, "buddy-signed-on",
-						handle, GAIM_CALLBACK(sound_triggered_cb),
-						GINT_TO_POINTER(GAIM_SOUND_BUDDY_ARRIVE));
-	gaim_signal_connect(blist_handle, "buddy-signed-off",
-						handle, GAIM_CALLBACK(sound_triggered_cb),
-						GINT_TO_POINTER(GAIM_SOUND_BUDDY_LEAVE));
 }
 
 void