diff plugins/autorecon.c @ 5607:eeba9205dd0f

[gaim-migrate @ 6011] that win32 stuff has gotten really old committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 31 May 2003 15:49:46 +0000
parents 1c55b1540e18
children 059d95c67cda
line wrap: on
line diff
--- a/plugins/autorecon.c	Sat May 31 15:43:38 2003 +0000
+++ b/plugins/autorecon.c	Sat May 31 15:49:46 2003 +0000
@@ -9,8 +9,6 @@
 
 #define AUTORECON_PLUGIN_ID "core-autorecon"
 
-G_MODULE_IMPORT GSList *gaim_accounts;
-
 #define INITIAL 8000
 #define MAXTIME 2048000
 
@@ -22,7 +20,7 @@
 	GaimAccount *account = data;
 	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "do_signon called\n");
 
-	if (g_slist_index(gaim_accounts, account) < 0)
+	if (g_list_index(gaim_accounts_get_all(), account) < 0)
 		return FALSE;
 	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n");
 	gaim_account_connect(account);