changeset 1825:b96f07ff3f78

[gaim-migrate @ 1835] a;jf committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 08 May 2001 01:39:00 +0000
parents a72f3748d398
children 7f889cdfa03e
files src/buddy.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Tue May 08 00:56:25 2001 +0000
+++ b/src/buddy.c	Tue May 08 01:39:00 2001 +0000
@@ -1353,9 +1353,10 @@
 			gtk_ctree_remove_node(GTK_CTREE(edittree), node);
 			do_export(gct);
 		} else if (*type == EDIT_GROUP) {
-			remove_group(((struct group *)type)->gc, (struct group *)type);
+			struct gaim_connection *gc = ((struct group *)type)->gc;
+			remove_group(gc, (struct group *)type);
 			gtk_ctree_remove_node(GTK_CTREE(edittree), node);
-			do_export(((struct group *)type)->gc);
+			do_export(gc);
                 }
 
         } else {