comparison console/gntblist.c @ 14630:275c84b1b2a4

[gaim-migrate @ 17376] Patch from Richard Nelson (wabz) to fix a crash. This is probably what Luke is getting. I had it fixed in my local tree, not sure why I hadn't committed. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 26 Sep 2006 23:02:40 +0000
parents f1f1dcb26d89
children dbcdef1ab5af
comparison
equal deleted inserted replaced
14629:6b8bc59414f0 14630:275c84b1b2a4
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;