diff plugins/gevolution/add_buddy_dialog.c @ 9566:7a149eac59a3

[gaim-migrate @ 10409] Patch by Henry Jen (bug #992152) to the gevolution plugin. He states: "After associated a buddy with an existing contact, the IM information is not appearing in the contact when view from evolution." committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 20 Jul 2004 00:10:36 +0000
parents a5ec9e73f46d
children 94910b9520cf
line wrap: on
line diff
--- a/plugins/gevolution/add_buddy_dialog.c	Mon Jul 19 16:35:33 2004 +0000
+++ b/plugins/gevolution/add_buddy_dialog.c	Tue Jul 20 00:10:36 2004 +0000
@@ -124,7 +124,7 @@
 	GtkWidget *menu;
 #if notyet
 	ESourceList *addressbooks;
-	GList *groups, *g;
+	GSList *groups, *g;
 #endif
 
 	menu =
@@ -147,7 +147,7 @@
 		return;
 	}
 
-	groups = e_source_list_peek_groups(list);
+	groups = e_source_list_peek_groups(addressbooks);
 
 	if (groups == NULL)
 	{
@@ -160,13 +160,13 @@
 
 	for (g = groups; g != NULL; g = g->next)
 	{
-		GList *sources, *s;
+		GSList *sources, *s;
 
 		sources = e_source_group_peek_sources(g->data);
 
-		for (p = sources; p != NULL; p = p->next)
+		for (s = sources; s != NULL; s = s->next)
 		{
-			ESource *source = E_SOURCE(p->data);
+			ESource *source = E_SOURCE(s->data);
 
 			item = gtk_menu_item_new_with_label(e_source_peek_name(source));
 			gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);