comparison 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
comparison
equal deleted inserted replaced
10756:897f98b4ca85 10757:bb6fea81e770
263 263
264 264
265 static gboolean 265 static gboolean
266 plugin_unload(GaimPlugin *plugin) 266 plugin_unload(GaimPlugin *plugin)
267 { 267 {
268 gaim_signal_disconnect(gaim_connections_get_handle(), "signed-off",
269 plugin, GAIM_CALLBACK(reconnect));
270
271 gaim_signal_disconnect(gaim_connections_get_handle(), "signed-on",
272 plugin, GAIM_CALLBACK(reconnected));
273
274 g_hash_table_destroy(hash); 268 g_hash_table_destroy(hash);
275 hash = NULL; 269 hash = NULL;
276 270
277 if (accountReconnecting) { 271 if (accountReconnecting) {
278 g_slist_free(accountReconnecting); 272 g_slist_free(accountReconnecting);