diff plugins/autorecon.c @ 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 8d19e10c187f
children 77cb56ff14e1
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;