changeset 10757:bb6fea81e770

[gaim-migrate @ 12360] Plugins don't need to explicitly remove signals they have connected. It's done automatically by plugin.c when the plugin is unloaded. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Mar 2005 22:44:59 +0000
parents 897f98b4ca85
children c80a609bd747
files plugins/autorecon.c plugins/timestamp.c
diffstat 2 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/autorecon.c	Sun Mar 27 22:42:46 2005 +0000
+++ b/plugins/autorecon.c	Sun Mar 27 22:44:59 2005 +0000
@@ -265,12 +265,6 @@
 static gboolean
 plugin_unload(GaimPlugin *plugin)
 {
-	gaim_signal_disconnect(gaim_connections_get_handle(), "signed-off",
-			plugin, GAIM_CALLBACK(reconnect));
-
-	gaim_signal_disconnect(gaim_connections_get_handle(), "signed-on",
-			plugin, GAIM_CALLBACK(reconnected));
-
 	g_hash_table_destroy(hash);
 	hash = NULL;
 
--- a/plugins/timestamp.c	Sun Mar 27 22:42:46 2005 +0000
+++ b/plugins/timestamp.c	Sun Mar 27 22:44:59 2005 +0000
@@ -255,14 +255,6 @@
 plugin_unload(GaimPlugin *plugin)
 {
 	GList *cnvs;
-	void *conv_handle = gaim_conversations_get_handle();
-
-	gaim_signal_disconnect(conv_handle, "conversation-created",
-					plugin, GAIM_CALLBACK(timestamp_new_convo));
-	gaim_signal_disconnect(conv_handle, "receiving-im-msg",
-					plugin, GAIM_CALLBACK(timestamp_receiving_msg));
-	gaim_signal_disconnect(conv_handle, "displaying-im-msg",
-					plugin, GAIM_CALLBACK(timestamp_displaying_conv_msg));
 
 	destroy_timer_list();