comparison src/gaimrc.c @ 5972:c36b3c654761

[gaim-migrate @ 6419] I might as well commit it right this instant. This makes Gaim not output silly gtk error things when importing a buddy pounce on an account that no longer exists. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 29 Jun 2003 06:16:16 +0000
parents a4f2aba0848d
children 22923270493f
comparison
equal deleted inserted replaced
5971:0878caaef952 5972:c36b3c654761
1642 GaimPounceEvent events = GAIM_POUNCE_NONE; 1642 GaimPounceEvent events = GAIM_POUNCE_NONE;
1643 GaimGtkPounceAction actions = GAIM_GTKPOUNCE_NONE; 1643 GaimGtkPounceAction actions = GAIM_GTKPOUNCE_NONE;
1644 ph = (struct pounce_placeholder *)l->data; 1644 ph = (struct pounce_placeholder *)l->data;
1645 1645
1646 account = gaim_accounts_find(ph->pouncer, ph->protocol); 1646 account = gaim_accounts_find(ph->pouncer, ph->protocol);
1647 if (account == NULL)
1648 continue;
1647 1649
1648 old_pounce_opts_to_new(ph->options, &events, &actions); 1650 old_pounce_opts_to_new(ph->options, &events, &actions);
1649 1651
1650 pounce = gaim_pounce_new(GAIM_GTK_UI, account, ph->name, events); 1652 pounce = gaim_pounce_new(GAIM_GTK_UI, account, ph->name, events);
1651 1653