diff src/dialogs.c @ 2397:520257562955

[gaim-migrate @ 2410] changing aim_users to GSList. this works better for me since in gaim-core i had them as a GSList. besides, it saves memory. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 30 Sep 2001 19:58:48 +0000
parents a7ecfd3f7714
children 123aaa84109a
line wrap: on
line diff
--- a/src/dialogs.c	Sun Sep 30 19:48:44 2001 +0000
+++ b/src/dialogs.c	Sun Sep 30 19:58:48 2001 +0000
@@ -963,7 +963,7 @@
 	GtkWidget *optmenu;
 	GtkWidget *menu;
 	GtkWidget *opt;
-	GList *u = aim_users;
+	GSList *u = aim_users;
 	struct aim_user *a;
 
 	hbox = gtk_hbox_new(FALSE, 5);
@@ -998,7 +998,7 @@
 
 	gtk_option_menu_set_menu(GTK_OPTION_MENU(optmenu), menu);
 	gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu),
-				    g_list_index(aim_users,
+				    g_slist_index(aim_users,
 						 ((struct gaim_connection *)connections->data)->user));
 	b->user = ((struct gaim_connection *)connections->data)->user;