comparison src/protocols/qq/buddy_info.c @ 13999:dd19c67be844

[gaim-migrate @ 16584] _with_data is since 2.10 committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 27 Jul 2006 18:35:16 +0000
parents e6977f9435a1
children 9c5790820ac6
comparison
equal deleted inserted replaced
13998:4fa4f2909b0d 13999:dd19c67be844
203 cur = info_template_data; 203 cur = info_template_data;
204 while (cur->id != NULL) { 204 while (cur->id != NULL) {
205 if (g_ascii_strcasecmp(group_name, cur->group) == 0) { 205 if (g_ascii_strcasecmp(group_name, cur->group) == 0) {
206 entry = g_memdup(cur, sizeof(info_field)); 206 entry = g_memdup(cur, sizeof(info_field));
207 entry->value = g_strdup(info[entry->pos]); 207 entry->value = g_strdup(info[entry->pos]);
208 group = g_list_insert_sorted_with_data(group, entry, info_field_compare, NULL); 208 group = g_list_insert_sorted(group, entry, info_field_compare);
209 } 209 }
210 cur++; 210 cur++;
211 } 211 }
212 212
213 return group; 213 return group;