diff src/sound.c @ 11563:8d0ac3c37831

[gaim-migrate @ 13829] SF Patch #1298283, from Casey Harkins "This patch removes a bit of cruft left over in sound.c from the refactor sound patch. It fixes compilation warnings about unused variables in sound.c" committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 22 Sep 2005 03:47:32 +0000
parents 11d30825c1bb
children 58bc500cf226
line wrap: on
line diff
--- a/src/sound.c	Wed Sep 21 22:57:10 2005 +0000
+++ b/src/sound.c	Thu Sep 22 03:47:32 2005 +0000
@@ -72,19 +72,9 @@
 	return sound_ui_ops;
 }
 
-void *
-gaim_sound_get_handle() {
-	static int handle;
-
-	return &handle;
-}
-
 void
 gaim_sound_init()
 {
-	void *handle       = gaim_sound_get_handle();
-	void *blist_handle = gaim_blist_get_handle();
-
 	gaim_prefs_add_none("/core/sound");
 	gaim_prefs_add_bool("/core/sound/while_away", FALSE);
 
@@ -93,8 +83,6 @@
 void
 gaim_sound_uninit()
 {
-	gaim_signals_disconnect_by_handle(gaim_sound_get_handle());
-
 	if(sound_ui_ops && sound_ui_ops->uninit)
 		sound_ui_ops->uninit();
 }