changeset 9814:aaef48dc13a9

[gaim-migrate @ 10685] A patch from Dave West that fixes the following crash: 1. Open the accounts editor and single-click on an account 2. Click the delete button twice 3. Select "Delete" on both "Do you want to delete this account?" windows committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 22 Aug 2004 03:28:47 +0000
parents 81a9ddc3f415
children 650ea0a0d55e
files src/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Sun Aug 22 03:23:31 2004 +0000
+++ b/src/gtkaccount.c	Sun Aug 22 03:28:47 2004 +0000
@@ -2004,7 +2004,8 @@
 		buf = g_strdup_printf(_("Are you sure you want to delete %s?"),
 							  gaim_account_get_username(account));
 
-		gaim_request_action(NULL, NULL, buf, NULL, 1, account, 2,
+		gaim_request_close_with_handle(account);
+		gaim_request_action(account, NULL, buf, NULL, 1, account, 2,
 							_("Delete"), delete_account_cb,
 							_("Cancel"), NULL);
 		g_free(buf);