| 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; |