diff src/core.c @ 5563:9eb5b13fd412

[gaim-migrate @ 5965] Just a taste of what's coming. Standard "This won't compile" thing. Plugin authors, you're going to hate me, but that's okay, because I have friends too! It's really late. My brain resembles that of fish swimming in jello pudding with neon lights flying around chanting musicals. I'm not on drugs. I'm just that tired. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 09:38:29 +0000
parents a2f26666de42
children 86456ec3ca25
line wrap: on
line diff
--- a/src/core.c	Fri May 30 04:13:58 2003 +0000
+++ b/src/core.c	Fri May 30 09:38:29 2003 +0000
@@ -219,7 +219,7 @@
 static void user_handler(struct UI *ui, guchar subtype, guchar *data)
 {
 	guint id;
-	struct gaim_account *account;
+	GaimAccount *account;
 
 	switch (subtype) {
 		/*
@@ -258,7 +258,7 @@
 			return;
 		{
 			guint id;
-			struct gaim_connection *gc;
+			GaimConnection *gc;
 			guint len;
 			char *who, *msg;
 			gint flags;
@@ -266,7 +266,7 @@
 
 			memcpy(&id, data + pos, sizeof(id));
 			pos += sizeof(id);
-			gc = g_slist_nth_data(connections, id);
+			gc = g_list_nth_data(gaim_connections_get_all(), id);
 			if (!gc)
 				return;