Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/xdata.c @ 29822:cc1e35fa774d
Deprecate purple_request_field_list_add()
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 16 Nov 2008 10:33:36 +0000 |
parents | 9cb1e75854f1 |
children | 5391094529c6 |
comparison
equal
deleted
inserted
replaced
29821:50dbd779f1bb | 29822:cc1e35fa774d |
---|---|
300 if(!(lbl = xmlnode_get_attrib(optnode, "label"))) | 300 if(!(lbl = xmlnode_get_attrib(optnode, "label"))) |
301 lbl = value; | 301 lbl = value; |
302 | 302 |
303 data->values = g_slist_prepend(data->values, value); | 303 data->values = g_slist_prepend(data->values, value); |
304 | 304 |
305 purple_request_field_list_add(field, lbl, value); | 305 purple_request_field_list_add_icon(field, lbl, NULL, value); |
306 if(g_list_find_custom(selected, value, (GCompareFunc)strcmp)) | 306 if(g_list_find_custom(selected, value, (GCompareFunc)strcmp)) |
307 purple_request_field_list_add_selected(field, lbl); | 307 purple_request_field_list_add_selected(field, lbl); |
308 } | 308 } |
309 purple_request_field_group_add_field(group, field); | 309 purple_request_field_group_add_field(group, field); |
310 | 310 |