diff src/protocols/toc/toc.c @ 5679:0a0116686d51

[gaim-migrate @ 6097] let the prpls know about the new API changes committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 02 Jun 2003 22:24:07 +0000
parents 0bdfa28c678e
children 46d7ad0dfa26
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Mon Jun 02 22:17:30 2003 +0000
+++ b/src/protocols/toc/toc.c	Mon Jun 02 22:24:07 2003 +0000
@@ -790,8 +790,8 @@
 		int id;
 		char *in, *buddy;
 		GSList *bcs = gc->buddy_chats;
-		struct gaim_conversation *b = NULL;
-		struct gaim_chat *chat;
+		GaimConversation *b = NULL;
+		GaimChat *chat;
 
 		sscanf(strtok(NULL, ":"), "%d", &id);
 		in = strtok(NULL, ":");
@@ -799,7 +799,7 @@
 		chat = GAIM_CHAT(b);
 
 		while (bcs) {
-			b = (struct gaim_conversation *)bcs->data;
+			b = (GaimConversation *)bcs->data;
 			if (id == gaim_chat_get_id(chat))
 				break;
 			bcs = bcs->next;
@@ -831,13 +831,13 @@
 		serv_got_chat_invite(gc, name, who, message, components);
 	} else if (!g_ascii_strcasecmp(c, "CHAT_LEFT")) {
 		GSList *bcs = gc->buddy_chats;
-		struct gaim_conversation *b = NULL;
+		GaimConversation *b = NULL;
 		int id;
 
 		sscanf(strtok(NULL, ":"), "%d", &id);
 
 		while (bcs) {
-			b = (struct gaim_conversation *)bcs->data;
+			b = (GaimConversation *)bcs->data;
 			if (id == gaim_chat_get_id(GAIM_CHAT(b)))
 				break;
 			b = NULL;
@@ -1234,11 +1234,11 @@
 static void toc_chat_leave(GaimConnection *g, int id)
 {
 	GSList *bcs = g->buddy_chats;
-	struct gaim_conversation *b = NULL;
+	GaimConversation *b = NULL;
 	char buf[BUF_LEN * 2];
 
 	while (bcs) {
-		b = (struct gaim_conversation *)bcs->data;
+		b = (GaimConversation *)bcs->data;
 		if (id == gaim_chat_get_id(GAIM_CHAT(b)))
 			break;
 		b = NULL;