diff src/gtkpounce.c @ 5580:86456ec3ca25

[gaim-migrate @ 5984] More nifty stuff! Accounts now get converted, and other niceties. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 02:27:03 +0000
parents 9eb5b13fd412
children b07aa997ddd8
line wrap: on
line diff
--- a/src/gtkpounce.c	Sat May 31 02:20:09 2003 +0000
+++ b/src/gtkpounce.c	Sat May 31 02:27:03 2003 +0000
@@ -281,14 +281,17 @@
 	GtkWidget *opt_menu;
 	GtkWidget *menu;
 	GtkWidget *item;
-	GSList *l;
+	GList *l;
 	char buf[2048];
 	int count, place = 0;
 
 	opt_menu = gtk_option_menu_new();
 	menu = gtk_menu_new();
 
-	for (l = gaim_accounts, count = 0; l != NULL; l = l->next, count++) {
+	for (l = gaim_accounts_get_all(), count = 0;
+		 l != NULL;
+		 l = l->next, count++) {
+
 		account = (GaimAccount *)l->data;
 
 		prpl = gaim_find_prpl(account->protocol);
@@ -480,7 +483,7 @@
 	}
 	else {
 		dialog->pounce  = NULL;
-		dialog->account = gaim_accounts->data;
+		dialog->account = gaim_accounts_get_all()->data;
 	}
 
 	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);