changeset 12843:d9686e688342

[gaim-migrate @ 15191] Handle the case when you've opened an account edit window for a new account. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Jan 2006 02:21:04 +0000
parents 5f15d53b610a
children 890c6429bc61
files src/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Thu Jan 12 02:19:37 2006 +0000
+++ b/src/gtkaccount.c	Thu Jan 12 02:21:04 2006 +0000
@@ -714,6 +714,9 @@
 	gboolean set;
 	GList *l;
 
+	if (dialog->account == NULL)
+		return;
+
 	if (gc != NULL && dialog->account != gaim_connection_get_account(gc))
 		return;