| 612 icon = purple_buddy_icon_create(account, username); |
612 icon = purple_buddy_icon_create(account, username); |
| 613 icon->img = NULL; |
613 icon->img = NULL; |
| 614 checksum = purple_blist_node_get_string((PurpleBlistNode*)b, "icon_checksum"); |
614 checksum = purple_blist_node_get_string((PurpleBlistNode*)b, "icon_checksum"); |
| 615 purple_buddy_icon_set_data(icon, data, len, checksum); |
615 purple_buddy_icon_set_data(icon, data, len, checksum); |
| 616 } |
616 } |
| |
617 else |
| |
618 { |
| |
619 delete_buddy_icon_settings((PurpleBlistNode*)b, "buddy_icon"); |
| |
620 } |
| 617 g_free(path); |
621 g_free(path); |
| 618 } |
622 } |
| 619 |
623 |
| 620 purple_buddy_icons_set_caching(caching); |
624 purple_buddy_icons_set_caching(caching); |
| 621 } |
625 } |