Revision 73e0c0b9e178f69c7131e2bd548da485a8ed16af
thekingant at pidgin.im
thekingant at pidgin.im
Wed Apr 11 01:20:51 EDT 2007
o -----------------------------------------------------------------
| Revision: 73e0c0b9e178f69c7131e2bd548da485a8ed16af
| Ancestor: 21541562eaeab1a5d0a9c1c902de2f5235a35e61
| Author: thekingant
| Date: 2004-12-09T23:10:56
| Branch: im.pidgin.gaim.oldstatus
|
| Modified files:
| src/protocols/silc/buddy.c src/protocols/silc/silc.c
| src/protocols/silc/silcgaim.h
|
| ChangeLog:
|
| [gaim-migrate @ 11551]
| Backport the re-adding of silcgaim_add_buddies()
| ============================================================
| --- src/protocols/silc/buddy.c c048ab4a70f984e3c94784d8074077375bb5b23d
| +++ src/protocols/silc/buddy.c f65f6e5a2d694657c60627bc7e8ff60747ae18c7
| @@ -1325,6 +1325,15 @@ void silcgaim_add_buddy(GaimConnection *
| silcgaim_add_buddy_i(gc, buddy, FALSE);
| }
|
| +void silcgaim_add_buddies(GaimConnection *gc, GList *buddies, GList *groups)
| +{
| + GList *curb = buddies;
| + while (curb) {
| + silcgaim_add_buddy_i(gc, curb->data, TRUE);
| + curb = curb->next;
| + }
| +}
| +
| void silcgaim_remove_buddy(GaimConnection *gc, GaimBuddy *buddy,
| GaimGroup *group)
| {
| ============================================================
| --- src/protocols/silc/silc.c 09cc8757ebfbc5a5677fd5a83044007361c2e228
| +++ src/protocols/silc/silc.c c6c6adc965ba5f31a2ab4ce6b19ac2c3edf7aa0e
| @@ -1508,7 +1508,7 @@ static GaimPluginProtocolInfo prpl_info
| silcgaim_idle_set, /* set_idle */
| silcgaim_change_passwd, /* change_passwd */
| silcgaim_add_buddy, /* add_buddy */
| - NULL, /* add_buddies */
| + silcgaim_add_buddies, /* add_buddies */
| silcgaim_remove_buddy, /* remove_buddy */
| NULL, /* remove_buddies */
| NULL, /* add_permit */
| ============================================================
| --- src/protocols/silc/silcgaim.h 96d8fe27ae7fb3ddd0ecb6dfe8e39d4dbb5fe511
| +++ src/protocols/silc/silcgaim.h 12737239c37cc11b40d6a3642047bd91e5a0db1f
| @@ -88,6 +88,7 @@ void silcgaim_add_buddy(GaimConnection *
| SilcVerifyPublicKey completion, void *context);
| GList *silcgaim_buddy_menu(GaimBuddy *buddy);
| void silcgaim_add_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group);
| +void silcgaim_add_buddies(GaimConnection *gc, GList *buddies, GList *groups);
| void silcgaim_remove_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group);
| void silcgaim_buddy_keyagr_request(SilcClient client,
| SilcClientConnection conn,
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from 73e0c0b9e178f69c7131e2bd548da485a8ed16af
More information about the Commits
mailing list