changeset 10918:893921a6cc6e

[gaim-migrate @ 12681] Fix the crash when renaming a group to an existing name committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 15 May 2005 13:28:11 +0000
parents aca17634b9ab
children 9695281b1aa1
files src/gtkblist.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sat May 14 19:33:59 2005 +0000
+++ b/src/gtkblist.c	Sun May 15 13:28:11 2005 +0000
@@ -3983,11 +3983,12 @@
 
 	buddy = (GaimBuddy*)node;
 	contact = (GaimContact*)node->parent;
-	gtkparentnode = (struct _gaim_gtk_blist_node *)node->parent->ui_data;
 
 	/* First things first, update the contact */
 	gaim_gtk_blist_update_contact(list, node->parent);
 
+	gtkparentnode = (struct _gaim_gtk_blist_node *)node->parent->ui_data;
+
 	if (gtkparentnode->contact_expanded &&
 		(gaim_presence_is_online(buddy->presence) ||
 			(gaim_account_is_connected(buddy->account) &&