comparison libgaim/account.c @ 14911:9f3be32d0913

[gaim-migrate @ 17683] I meant to remove this a revision or three ago committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 06 Nov 2006 07:52:17 +0000
parents c3a7d40d64bb
children ad564b48dab0
comparison
equal deleted inserted replaced
14910:fdbf71ae8775 14911:9f3be32d0913
2110 * account for all UIs rather than the just the current UI, 2110 * account for all UIs rather than the just the current UI,
2111 * but it doesn't really matter. 2111 * but it doesn't really matter.
2112 */ 2112 */
2113 gaim_account_set_enabled(account, gaim_core_get_ui(), FALSE); 2113 gaim_account_set_enabled(account, gaim_core_get_ui(), FALSE);
2114 2114
2115 if (gaim_account_is_connected(account))
2116 gaim_account_disconnect(account);
2117
2118 gaim_notify_close_with_handle(account); 2115 gaim_notify_close_with_handle(account);
2119 gaim_request_close_with_handle(account); 2116 gaim_request_close_with_handle(account);
2120 2117
2121 gaim_accounts_remove(account); 2118 gaim_accounts_remove(account);
2122 2119