changeset 16862:e17e82f49afb

merge of 'b43df8fea8317fa8538ab5f3ef70d19b207e2046' and 'd83774ccf5f88eb0d21551b71ef56364ee041952'
author Luke Schierer <lschiere@pidgin.im>
date Fri, 04 May 2007 01:56:42 +0000
parents 504613f178a0 (diff) d61d93f478cc (current diff)
children 340fbf90d7ee
files
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Fri May 04 01:30:48 2007 +0000
+++ b/pidgin/gtkaccount.c	Fri May 04 01:56: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;
 }