[gaim-migrate @ 13829]

Thu, 22 Sep 2005 03:47:32 +0000

author
Casey Harkins <charkins@pidgin.im>
date
Thu, 22 Sep 2005 03:47:32 +0000
changeset 11563
d500f0019940
parent 11562
58d047d8e724
child 11564
64deeffbaf4e

[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: Richard Laager <rlaager@pidgin.im>

plugins/ChangeLog.API file | annotate | diff | comparison | revisions
src/sound.c file | annotate | diff | comparison | revisions
--- a/plugins/ChangeLog.API	Wed Sep 21 22:57:10 2005 +0000
+++ b/plugins/ChangeLog.API	Thu Sep 22 03:47:32 2005 +0000
@@ -103,6 +103,7 @@
 	* Changed: GaimNotifyUiOps::notify_userinfo, removed title, primary,
 	           and secondary args
 	* Removed: uc from the GaimBuddy struct
+	* Removed: gaim_sound_get_handle()
 
 	Signals:
 	* Changed: "received-im-msg" and "received-chat-msg" to match, both
--- 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();
 }

mercurial