src/blist.c

changeset 7003
f386c83fdf52
parent 6983
a32d7b7d0739
child 7035
76bca80cd91d
equal deleted inserted replaced
7002:ffa26eb4420c 7003:f386c83fdf52
685 hb->group = bnode->parent->parent; 685 hb->group = bnode->parent->parent;
686 g_hash_table_remove(gaimbuddylist->buddies, hb); 686 g_hash_table_remove(gaimbuddylist->buddies, hb);
687 g_free(hb); 687 g_free(hb);
688 } 688 }
689 689
690 if(!bnode->parent->child) 690 if(!bnode->parent->child) {
691 gaim_blist_remove_contact((GaimContact*)bnode->parent); 691 gaim_blist_remove_contact((GaimContact*)bnode->parent);
692 692 } else {
693 gaim_contact_compute_priority_buddy((GaimContact*)bnode->parent);
694 ops->update(gaimbuddylist, bnode->parent);
695 }
693 } 696 }
694 697
695 if(node && GAIM_BLIST_NODE_IS_BUDDY(node)) { 698 if(node && GAIM_BLIST_NODE_IS_BUDDY(node)) {
696 if(node->next) 699 if(node->next)
697 node->next->prev = bnode; 700 node->next->prev = bnode;

mercurial