[gaim-migrate @ 10685]

Sun, 22 Aug 2004 03:28:47 +0000

author
Dave West <kat@users.sourceforge.net>
date
Sun, 22 Aug 2004 03:28:47 +0000
changeset 9814
d2d665f68e4f
parent 9813
5df130268785
child 9815
fcbbbce0e1ff

[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: Mark Doliner <markdoliner@pidgin.im>

src/gtkaccount.c file | annotate | diff | comparison | revisions
--- 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);

mercurial