changeset 1821:5fc89f9e7f3e

[gaim-migrate @ 1831] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 06 May 2001 19:54:26 +0000
parents 73bb4244165f
children ca040e495bc6
files src/buddy.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Sun May 06 11:27:36 2001 +0000
+++ b/src/buddy.c	Sun May 06 19:54:26 2001 +0000
@@ -1345,11 +1345,13 @@
 		type = (int *)gtk_ctree_node_get_row_data(GTK_CTREE(edittree), node);
 
 		if (*type == EDIT_BUDDY) {
+			struct gaim_connection *gct;
 			b = (struct buddy *)type;
 			g = find_group_by_buddy(b->gc, b->name);
+			gct = b->gc;
 			remove_buddy(b->gc, g, b);
 			gtk_ctree_remove_node(GTK_CTREE(edittree), node);
-			do_export(b->gc);
+			do_export(gct);
 		} else if (*type == EDIT_GROUP) {
 			remove_group(((struct group *)type)->gc, (struct group *)type);
 			gtk_ctree_remove_node(GTK_CTREE(edittree), node);