src/account.c

changeset 5879
a2757f3f2dda
parent 5877
37695b88b248
child 5926
f0c5bbf16793
--- a/src/account.c	Sun Jun 15 03:22:55 2003 +0000
+++ b/src/account.c	Sun Jun 15 04:58:09 2003 +0000
@@ -80,7 +80,6 @@
 } AccountParserData;
 
 static GList   *accounts = NULL;
-static GList   *active_accounts = NULL;
 static guint    accounts_save_timer = 0;
 static gboolean accounts_loaded = FALSE;
 
@@ -171,9 +170,6 @@
 
 	gaim_connection_connect(gc);
 
-	if (gaim_account_is_connected(account))
-		active_accounts = g_list_append(active_accounts, account);
-
 	return gc;
 }
 
@@ -185,8 +181,6 @@
 
 	gaim_connection_disconnect(account->gc);
 
-	active_accounts = g_list_remove(active_accounts, account);
-
 	account->gc = NULL;
 }
 
@@ -1271,12 +1265,6 @@
 	return accounts;
 }
 
-GList *
-gaim_accounts_get_active(void)
-{
-	return active_accounts;
-}
-
 GaimAccount *
 gaim_accounts_find(const char *name, GaimProtocol protocol)
 {

mercurial