comparison src/gtkaccount.c @ 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 4a15962c344a
children e4a27c9aec4c
comparison
equal deleted inserted replaced
9813:81a9ddc3f415 9814:aaef48dc13a9
2002 char *buf; 2002 char *buf;
2003 2003
2004 buf = g_strdup_printf(_("Are you sure you want to delete %s?"), 2004 buf = g_strdup_printf(_("Are you sure you want to delete %s?"),
2005 gaim_account_get_username(account)); 2005 gaim_account_get_username(account));
2006 2006
2007 gaim_request_action(NULL, NULL, buf, NULL, 1, account, 2, 2007 gaim_request_close_with_handle(account);
2008 gaim_request_action(account, NULL, buf, NULL, 1, account, 2,
2008 _("Delete"), delete_account_cb, 2009 _("Delete"), delete_account_cb,
2009 _("Cancel"), NULL); 2010 _("Cancel"), NULL);
2010 g_free(buf); 2011 g_free(buf);
2011 } 2012 }
2012 } 2013 }