comparison src/account.c @ 6110:d1d8e70cf33d

[gaim-migrate @ 6572] Now when the password field is blank and gaim prompts you for the pass, the gc is now destroyed at that time and then recreated later. This feels more correct to me, I dunno. This means that you can have multiple "enter your password" dialog windows for the same account, though. I don't think this is too big of a deal, so I figured it would be ok. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 18:43:30 +0000
parents 0922bb7a7bbc
children 914f2d5da21c
comparison
equal deleted inserted replaced
6109:0922bb7a7bbc 6110:d1d8e70cf33d
173 gaim_account_connect(GaimAccount *account) 173 gaim_account_connect(GaimAccount *account)
174 { 174 {
175 GaimConnection *gc; 175 GaimConnection *gc;
176 176
177 g_return_val_if_fail(account != NULL, NULL); 177 g_return_val_if_fail(account != NULL, NULL);
178 g_return_val_if_fail(!gaim_account_is_connected(account), NULL);
179 178
180 if (gaim_account_get_connection(account) != NULL) 179 if (gaim_account_get_connection(account) != NULL)
181 return NULL; 180 return NULL;
182 181
183 gc = gaim_connection_new(account); 182 gc = gaim_connection_new(account);