Mercurial > pidgin.yaz
comparison pidgin/gtkconn.c @ 26237:eb21f65728c0
propagate from branch 'im.pidgin.pidgin' (head bc80dc424bc7a7e274901f9124173538e5b43f41)
to branch 'im.pidgin.soc.2008.yahoo' (head 42700e96e9188523e8d99406abde695abf97caf5)
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Wed, 12 Nov 2008 10:18:49 +0000 |
parents | 15d6fd6b08a2 |
children | f98049a447f2 |
comparison
equal
deleted
inserted
replaced
26236:618d122af044 | 26237:eb21f65728c0 |
---|---|
206 | 206 |
207 l = list = purple_accounts_get_all_active(); | 207 l = list = purple_accounts_get_all_active(); |
208 while (l) { | 208 while (l) { |
209 PurpleAccount *a = (PurpleAccount*)l->data; | 209 PurpleAccount *a = (PurpleAccount*)l->data; |
210 if (!purple_account_is_disconnected(a)) { | 210 if (!purple_account_is_disconnected(a)) { |
211 char *password = g_strdup(purple_account_get_password(a)); | |
211 purple_account_disconnect(a); | 212 purple_account_disconnect(a); |
213 purple_account_set_password(a, password); | |
214 g_free(password); | |
212 } | 215 } |
213 l = l->next; | 216 l = l->next; |
214 } | 217 } |
215 g_list_free(list); | 218 g_list_free(list); |
216 } | 219 } |