Mercurial > pidgin.yaz
changeset 22861:5451ce45eeb3
merge of 'ab4c3777bebccd93ded5d7e6886514e95603f51a'
and 'cc84ce5643c451b4a6d379e839e7c7531cabd9ee'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 10 May 2008 09:24:58 +0000 |
parents | a85fcc0c0248 (diff) 36c3f901480d (current diff) |
children | f5d39c44465a 5513f1f5f4bc 2c6fb4d5cea2 |
files | |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconn.c Sat May 10 09:24:52 2008 +0000 +++ b/pidgin/gtkconn.c Sat May 10 09:24:58 2008 +0000 @@ -200,8 +200,6 @@ { GList *list, *l; PidginBuddyList *gtkblist = pidgin_blist_get_default_gtk_blist(); - PurplePluginProtocolInfo *prpl_info = NULL; - PurpleConnection *gc = NULL; if(gtkblist) pidgin_status_box_set_network_available(PIDGIN_STATUS_BOX(gtkblist->statusbox), FALSE); @@ -210,15 +208,7 @@ while (l) { PurpleAccount *a = (PurpleAccount*)l->data; if (!purple_account_is_disconnected(a)) { - gc = purple_account_get_connection(a); - if (gc && gc->prpl) - prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(gc->prpl); - if (prpl_info) { - if (prpl_info->keepalive) - prpl_info->keepalive(gc); - else - purple_account_disconnect(a); - } + purple_account_disconnect(a); } l = l->next; }