diff src/protocols/sametime/sametime.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 de25a063aebe
children d4cd7d443795
line wrap: on
line diff
--- a/src/protocols/sametime/sametime.c	Mon Nov 14 22:20:24 2005 +0000
+++ b/src/protocols/sametime/sametime.c	Mon Nov 14 22:41:52 2005 +0000
@@ -734,7 +734,7 @@
 
   add = g_list_prepend(NULL, &idb);
 
-  group = gaim_find_buddys_group(buddy);
+  group = gaim_buddy_get_group(buddy);
   list = list_ensure(pd, group);
 
   if(mwAwareList_addAware(list, add)) {
@@ -4484,7 +4484,7 @@
     idb->community = NULL;
 
     /* put idb into the list associated with the buddy's group */
-    g = gaim_find_buddys_group(b);
+    g = gaim_buddy_get_group(b);
     l = g_hash_table_lookup(group_sets, g);
     l = g_list_prepend(l, idb++);
     g_hash_table_insert(group_sets, g, l);
@@ -4511,7 +4511,7 @@
   GList *rem = g_list_prepend(NULL, &idb);
 
   pd = gc->proto_data;
-  group = gaim_find_buddys_group(buddy);
+  group = gaim_buddy_get_group(buddy);
   list = list_ensure(pd, group);
 
   mwAwareList_removeAware(list, rem);