Mercurial > pidgin.yaz
comparison src/buddy.c @ 4396:868ee63e1fe8
[gaim-migrate @ 4665]
this doesn't need to be checked here, and I had the check wrong. oops :-P
this will make groups stop disappearing when you remove a buddy
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 22 Jan 2003 23:17:13 +0000 |
parents | bca8256a91a6 |
children | 4e5446a7131f |
comparison
equal
deleted
inserted
replaced
4395:eed028527289 | 4396:868ee63e1fe8 |
---|---|
812 g_source_remove(bs->log_timer); | 812 g_source_remove(bs->log_timer); |
813 bs->log_timer = 0; | 813 bs->log_timer = 0; |
814 remove_buddy_show(gs, bs); | 814 remove_buddy_show(gs, bs); |
815 g_free(bs->name); | 815 g_free(bs->name); |
816 g_free(bs); | 816 g_free(bs); |
817 if ((!g_slist_length(gs->members) && | 817 if (!g_slist_length(gs->members) && |
818 (blist_options & OPT_BLIST_NO_MT_GRP)) || | 818 (blist_options & OPT_BLIST_NO_MT_GRP)) { |
819 gaim_group_on_account(rem_g, NULL)) { | |
820 shows = g_slist_remove(shows, gs); | 819 shows = g_slist_remove(shows, gs); |
821 gtk_tree_remove_item(GTK_TREE(buddies), gs->item); | 820 gtk_tree_remove_item(GTK_TREE(buddies), gs->item); |
822 g_free(gs->name); | 821 g_free(gs->name); |
823 g_free(gs); | 822 g_free(gs); |
824 gs = NULL; | 823 gs = NULL; |