comparison src/buddy.c @ 2433:cac432940fb8

[gaim-migrate @ 2446] fix compile errors on non-gcc compilers. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 05 Oct 2001 20:31:14 +0000
parents a7ecfd3f7714
children dd4114ed4c07
comparison
equal deleted inserted replaced
2432:2a4a50036e25 2433:cac432940fb8
162 g_free(bs->show); 162 g_free(bs->show);
163 g_free(bs->name); 163 g_free(bs->name);
164 g_free(bs); 164 g_free(bs);
165 } 165 }
166 if ((bs = find_buddy_show(new_gs, b->name)) == NULL) { 166 if ((bs = find_buddy_show(new_gs, b->name)) == NULL) {
167 if (*g->gc->prpl->list_icon) { 167 if (g->gc->prpl->list_icon) {
168 bs = new_buddy_show(new_gs, b, 168 bs = new_buddy_show(new_gs, b,
169 (*g->gc->prpl->list_icon)(b->uc)); 169 (*g->gc->prpl->list_icon)(b->uc));
170 } else { 170 } else {
171 bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm); 171 bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm);
172 } 172 }
215 remove_buddy_show(gs, bs); 215 remove_buddy_show(gs, bs);
216 g_free(bs->show); 216 g_free(bs->show);
217 g_free(bs->name); 217 g_free(bs->name);
218 g_free(bs); 218 g_free(bs);
219 } 219 }
220 if (*g->gc->prpl->list_icon) { 220 if (g->gc->prpl->list_icon) {
221 bs = new_buddy_show(new_gs, b, 221 bs = new_buddy_show(new_gs, b,
222 (*g->gc->prpl->list_icon)(b->uc)); 222 (*g->gc->prpl->list_icon)(b->uc));
223 } else { 223 } else {
224 bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm); 224 bs = new_buddy_show(new_gs, b, (char **)no_icon_xpm);
225 } 225 }