Mercurial > pidgin
comparison src/gaimrc.c @ 7132:d17a587efeb3
[gaim-migrate @ 7699]
new blist parser code, and some tweaks to the account code to make my next commit possible. the other parser code can get moved over to this model to make things cleaner, but i'm too lazy to do it now.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 03 Oct 2003 21:49:11 +0000 |
parents | fac483a95584 |
children | 643cbc9a6035 |
comparison
equal
deleted
inserted
replaced
7131:af889fd531d0 | 7132:d17a587efeb3 |
---|---|
1596 GaimAccount *account; | 1596 GaimAccount *account; |
1597 | 1597 |
1598 for (l = buddy_pounces; l != NULL; l = l->next) { | 1598 for (l = buddy_pounces; l != NULL; l = l->next) { |
1599 GaimPounceEvent events = GAIM_POUNCE_NONE; | 1599 GaimPounceEvent events = GAIM_POUNCE_NONE; |
1600 GaimGtkPounceAction actions = GAIM_GTKPOUNCE_NONE; | 1600 GaimGtkPounceAction actions = GAIM_GTKPOUNCE_NONE; |
1601 char buf[3]; | |
1602 | |
1601 ph = (struct pounce_placeholder *)l->data; | 1603 ph = (struct pounce_placeholder *)l->data; |
1602 | 1604 |
1603 account = gaim_accounts_find(ph->pouncer, ph->protocol); | 1605 g_snprintf(buf, sizeof(buf), "%d", ph->protocol); |
1606 account = gaim_accounts_find(ph->pouncer, buf); | |
1604 if (account == NULL) | 1607 if (account == NULL) |
1605 continue; | 1608 continue; |
1606 | 1609 |
1607 old_pounce_opts_to_new(ph->options, &events, &actions); | 1610 old_pounce_opts_to_new(ph->options, &events, &actions); |
1608 | 1611 |