Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 12088:980c877bd238
[gaim-migrate @ 14385]
sf patch #1356873, from Will Thompson (resiak)
"gaim_find_buddys_group is a stupid name.
gaim_buddy_get_group is not a stupid name."
Way to think outside the box!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Nov 2005 22:41:52 +0000 |
parents | d854a6fc7b82 |
children | cbebda5f019c |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Mon Nov 14 22:20:24 2005 +0000 +++ b/src/protocols/oscar/oscar.c Mon Nov 14 22:41:52 2005 +0000 @@ -748,7 +748,7 @@ b = gaim_find_buddy(account, userinfo->sn); if (b != NULL) { - g = gaim_find_buddys_group(b); + g = gaim_buddy_get_group(b); presence = gaim_buddy_get_presence(b); status = gaim_presence_get_active_status(presence); } @@ -4379,7 +4379,7 @@ if (g_list_find(gaim_connections_get_all(), gc)) { OscarData *od = gc->proto_data; GaimBuddy *buddy = gaim_find_buddy(gc->account, data->name); - GaimGroup *group = gaim_find_buddys_group(buddy); + GaimGroup *group = gaim_buddy_get_group(buddy); if (buddy && group) { gaim_debug_info("oscar", "ssi: adding buddy %s to group %s\n", @@ -7781,7 +7781,7 @@ return; } - if (!(g = gaim_find_buddys_group(b))) { + if (!(g = gaim_buddy_get_group(b))) { oscar_free_name_data(data); return; } @@ -7813,7 +7813,7 @@ data = g_new(struct name_data, 1); - if (!(g = gaim_find_buddys_group(buddy))) + if (!(g = gaim_buddy_get_group(buddy))) return; comment = aim_ssi_getcomment(od->sess->ssi.local, g->name, buddy->name); comment_utf8 = comment ? gaim_utf8_try_convert(comment) : NULL;