comparison src/blist.c @ 11860:ec7c3da0e718

[gaim-migrate @ 14151] I think this is the right way to delete a buddy icon from a buddy committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 27 Oct 2005 20:19:24 +0000
parents eb14bbcf7249
children 700ec4523c04
comparison
equal deleted inserted replaced
11859:26e63bc87224 11860:ec7c3da0e718
1732 gnode = cnode->parent; 1732 gnode = cnode->parent;
1733 contact = (GaimContact *)cnode; 1733 contact = (GaimContact *)cnode;
1734 group = (GaimGroup *)gnode; 1734 group = (GaimGroup *)gnode;
1735 1735
1736 /* Delete any buddy icon. */ 1736 /* Delete any buddy icon. */
1737 gaim_buddy_set_icon(buddy, NULL); 1737 gaim_buddy_icon_uncache(buddy);
1738 1738
1739 /* Remove the node from its parent */ 1739 /* Remove the node from its parent */
1740 if (node->prev) 1740 if (node->prev)
1741 node->prev->next = node->next; 1741 node->prev->next = node->next;
1742 if (node->next) 1742 if (node->next)