console/gntblist.c

changeset 14692
3d37294df73d
parent 14678
97f57691faab
child 14753
02d5934c7877
equal deleted inserted replaced
14691:efb5fd0a34b7 14692:3d37294df73d
1645 iter = g_list_delete_link(iter, iter)) { 1645 iter = g_list_delete_link(iter, iter)) {
1646 GaimAccount *account = iter->data; 1646 GaimAccount *account = iter->data;
1647 GaimConnection *gc = gaim_account_get_connection(account); 1647 GaimConnection *gc = gaim_account_get_connection(account);
1648 GaimPlugin *prpl; 1648 GaimPlugin *prpl;
1649 1649
1650 if (!GAIM_CONNECTION_IS_CONNECTED(gc)) 1650 if (!gc || !GAIM_CONNECTION_IS_CONNECTED(gc))
1651 continue; 1651 continue;
1652 prpl = gc->prpl; 1652 prpl = gc->prpl;
1653 1653
1654 if (GAIM_PLUGIN_HAS_ACTIONS(prpl)) { 1654 if (GAIM_PLUGIN_HAS_ACTIONS(prpl)) {
1655 GList *acts; 1655 GList *acts;

mercurial