Mercurial > pidgin
diff src/protocols/yahoo/yahoo.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 | b41b75f709e4 |
| children | 4e729e3d8f0b |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Mon Nov 14 22:20:24 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Mon Nov 14 22:41:52 2005 +0000 @@ -395,7 +395,7 @@ for (i = list; i; i = i->next) { b = i->data; - g = gaim_find_buddys_group(b); + g = gaim_buddy_get_group(b); if (!gaim_utf8_strcasecmp(group, g->name)) { gaim_debug(GAIM_DEBUG_MISC, "yahoo", "Oh good, %s is in the right group (%s).\n", name, group); @@ -433,7 +433,7 @@ for (i = list; i; i = i->next) { b = i->data; - g = gaim_find_buddys_group(b); + g = gaim_buddy_get_group(b); gaim_debug(GAIM_DEBUG_MISC, "yahoo", "Deleting Buddy %s from group %s.\n", name, g->name); gaim_blist_remove_buddy(b); } @@ -1701,7 +1701,7 @@ if (!buddy) return; - group = gaim_find_buddys_group(buddy); + group = gaim_buddy_get_group(buddy); name = g_strdup(buddy->name); account = buddy->account; @@ -3278,7 +3278,7 @@ if (foo) group = foo->name; if (!group) { - g = gaim_find_buddys_group(gaim_find_buddy(gc->account, buddy->name)); + g = gaim_buddy_get_group(gaim_find_buddy(gc->account, buddy->name)); if (g) group = g->name; else @@ -3308,7 +3308,7 @@ buddies = gaim_find_buddies(gaim_connection_get_account(gc), buddy->name); for (l = buddies; l; l = l->next) { - g = gaim_find_buddys_group(l->data); + g = gaim_buddy_get_group(l->data); if (gaim_utf8_strcasecmp(group->name, g->name)) { remove = FALSE; break;
