diff src/protocols/yahoo/yahoo.c @ 6695:0c5637b5462e

[gaim-migrate @ 7221] This is contact support. Really. It has a few bugs left in it, like sorting not working, and stuff like that, but it's pretty solid for the most part. I'm not in the mood to do a whole lot of typing, so just use and enjoy. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 02 Sep 2003 03:41:10 +0000
parents 306790891ce7
children 7b878ee8f064
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Sep 02 03:34:37 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Sep 02 03:41:10 2003 +0000
@@ -466,8 +466,8 @@
 {
 	GSList *l = pkt->hash;
 	gboolean export = FALSE;
-	struct buddy *b;
-	struct group *g;
+	GaimBuddy *b;
+	GaimGroup *g;
 
 	while (l) {
 		char **lines;
@@ -498,7 +498,7 @@
 						gaim_blist_add_group(g, NULL);
 					}
 					b = gaim_buddy_new(gc->account, *bud, NULL);
-					gaim_blist_add_buddy(b, g, NULL);
+					gaim_blist_add_buddy(b, NULL, g, NULL);
 					export = TRUE;
 				}
 			g_strfreev(buddies);
@@ -541,7 +541,7 @@
 		else
 			serv_got_typing_stopped(gc, from);
 	} else if (!g_ascii_strncasecmp(msg, "GAME", strlen("GAME"))) {
-		struct buddy *bud = gaim_find_buddy(gc->account, from);
+		GaimBuddy *bud = gaim_find_buddy(gc->account, from);
 		void *free1=NULL, *free2=NULL;
 		if (!bud) {
 			gaim_debug(GAIM_DEBUG_WARNING, "yahoo",
@@ -1064,12 +1064,12 @@
 	g_free(yd);
 }
 
-static const char *yahoo_list_icon(GaimAccount *a, struct buddy *b)
+static const char *yahoo_list_icon(GaimAccount *a, GaimBuddy *b)
 {
 	return "yahoo";
 }
 
-static void yahoo_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne)
+static void yahoo_list_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne)
 {
 	int i = 0;
 	char *emblems[4] = {NULL,NULL,NULL,NULL};
@@ -1135,7 +1135,7 @@
 	g_free(game);
 }
 
-static char *yahoo_status_text(struct buddy *b)
+static char *yahoo_status_text(GaimBuddy *b)
 {
 	struct yahoo_data *yd = (struct yahoo_data*)b->account->gc->proto_data;
 
@@ -1153,7 +1153,7 @@
 	return NULL;
 }
 
-static char *yahoo_tooltip_text(struct buddy *b)
+static char *yahoo_tooltip_text(GaimBuddy *b)
 {
 	struct yahoo_data *yd = (struct yahoo_data*)b->account->gc->proto_data;
 	if ((b->uc & UC_UNAVAILABLE) || ((b->uc >> 2) == YAHOO_STATUS_CUSTOM)) {
@@ -1179,7 +1179,7 @@
 	GList *m = NULL;
 	struct proto_buddy_menu *pbm;
 	struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
-	struct buddy *b = gaim_find_buddy(gc->account, who); /* this should never be null. if it is,
+	GaimBuddy *b = gaim_find_buddy(gc->account, who); /* this should never be null. if it is,
 						  segfault and get the bug report. */
 	static char buf2[1024];
 
@@ -1407,7 +1407,7 @@
 {
 	struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
 	struct yahoo_packet *pkt;
-	struct group *g;
+	GaimGroup *g;
 	char *group = NULL;
 
 	if (!yd->logged_in)