Mercurial > pidgin
diff src/gtkblist.c @ 11643:eb14bbcf7249
[gaim-migrate @ 13920]
sf patch #1293063, from John Bailey
Move and rename some functions from server.c to the account API.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 12 Oct 2005 02:47:31 +0000 |
| parents | 3a05b53a589e |
| children | 969fb599cc1b |
line wrap: on
line diff
--- a/src/gtkblist.c Wed Oct 12 02:27:32 2005 +0000 +++ b/src/gtkblist.c Wed Oct 12 02:47:31 2005 +0000 @@ -4276,19 +4276,21 @@ b = gaim_buddy_new(data->account, who, whoalias); gaim_blist_add_buddy(b, NULL, g, NULL); - serv_add_buddy(gaim_account_get_connection(data->account), b); + gaim_account_add_buddy(data->account, b); /* * XXX - * It really seems like it would be better if the call to serv_add_buddy() - * and gaim_conversation_update() were done in blist.c, possibly in the - * gaim_blist_add_buddy() function. Maybe serv_add_buddy() should be - * renamed to gaim_blist_add_new_buddy() or something, and have it call + * It really seems like it would be better if the call to + * gaim_account_add_buddy() and gaim_conversation_update() were done in + * blist.c, possibly in the gaim_blist_add_buddy() function. Maybe + * gaim_account_add_buddy() should be renamed to + * gaim_blist_add_new_buddy() or something, and have it call * gaim_blist_add_buddy() after it creates it. --Mark * * No that's not good. blist.c should only deal with adding nodes to the - * local list. We need a new, non-gtk file that calls both serv_add_buddy - * and gaim_blist_add_buddy(). Or something. --Mark + * local list. We need a new, non-gtk file that calls both + * gaim_account_add_buddy and gaim_blist_add_buddy(). + * Or something. --Mark */ c = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, who, data->account);
