changeset 16836:504613f178a0

Fixes #601
author Sean Egan <seanegan@gmail.com>
date Fri, 04 May 2007 01:46:42 +0000
parents 4d8e7fd6e14d
children 133932a97faa e17e82f49afb
files pidgin/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Thu May 03 22:39:37 2007 +0000
+++ b/pidgin/gtkaccount.c	Fri May 04 01:46:42 2007 +0000
@@ -1343,10 +1343,6 @@
 		proxy_info = NULL;
 	}
 
-
-	/* We no longer need the data from the dialog window */
-	account_win_destroy_cb(NULL, NULL, dialog);
-
 	/* If this is a new account, add it to our list */
 	if (new)
 		purple_accounts_add(account);
@@ -1364,6 +1360,9 @@
 		}
 	}
 
+	/* We no longer need the data from the dialog window */
+	account_win_destroy_cb(NULL, NULL, dialog);
+
 	return account;
 }