diff src/protocols/toc/toc.c @ 5498:cce2d7868c78

[gaim-migrate @ 5894] Bye bye do_ask_dialog()! Mwahahahahhaha! And wit -> with. What wit with the witty with wit comment, wit you jutht thaw. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 23 May 2003 02:42:52 +0000
parents ad445074d239
children 4fa8ca4f4259
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Fri May 23 01:45:17 2003 +0000
+++ b/src/protocols/toc/toc.c	Fri May 23 02:42:52 2003 +0000
@@ -1988,7 +1988,10 @@
 	} else {
 		g_snprintf(buf, sizeof(buf), _("%s requests you to send them a file"), ft->user);
 	}
-	do_ask_dialog(buf, NULL, ft, _("Accept"), toc_accept_ft, _("Cancel"), toc_reject_ft, my_protocol->handle, FALSE);
+
+	gaim_request_accept_cancel(ft->gc, NULL, buf, NULL, 0, ft,
+							   G_CALLBACK(toc_accept_ft),
+							   G_CALLBACK(toc_reject_ft));
 }
 
 static GaimPluginProtocolInfo prpl_info =