diff libpurple/protocols/gg/gg.c @ 32153:694382c3d150

Remove deprecated purple_request_field_list_add().
author andrew.victor@mxit.com
date Thu, 15 Sep 2011 22:02:55 +0000
parents c6943fd38d44
children 904686722499
line wrap: on
line diff
--- a/libpurple/protocols/gg/gg.c	Thu Sep 15 21:57:04 2011 +0000
+++ b/libpurple/protocols/gg/gg.c	Thu Sep 15 22:02:55 2011 +0000
@@ -857,7 +857,7 @@
 	field = purple_request_field_list_new("name", "Chat name");
 	for (l = info->chats; l != NULL; l = l->next) {
 		GGPChat *chat = l->data;
-		purple_request_field_list_add(field, chat->name, chat->name);
+		purple_request_field_list_add_icon(field, chat->name, NULL, chat->name);
 	}
 	purple_request_field_group_add_field(group, field);