changeset 11302:fc17554c32c5

[gaim-migrate @ 13502] Delete buddy icon cache files when we remove a buddy. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 18 Aug 2005 20:05:20 +0000
parents a09a5d64f33f
children 10066662176a
files src/blist.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Thu Aug 18 18:11:12 2005 +0000
+++ b/src/blist.c	Thu Aug 18 20:05:20 2005 +0000
@@ -1711,6 +1711,9 @@
 	contact = (GaimContact *)cnode;
 	group = (GaimGroup *)gnode;
 
+	/* Delete any buddy icon. */
+	gaim_buddy_set_icon(buddy, NULL);
+
 	/* Remove the node from its parent */
 	if (node->prev)
 		node->prev->next = node->next;