diff src/server.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 7883082c290a
children de09863bd4b5
line wrap: on
line diff
--- a/src/server.c	Fri May 23 01:45:17 2003 +0000
+++ b/src/server.c	Fri May 23 02:42:52 2003 +0000
@@ -1236,7 +1236,10 @@
 	cid->gc = gc;
 	cid->components = data;
 
-	do_ask_dialog(_("Buddy Chat Invite"), buf2, cid, _("Accept"), chat_invite_accept, _("Cancel"), chat_invite_data_free, NULL, FALSE);
+	gaim_request_accept_cancel(gc, NULL, _("Accept chat invitation?"),
+							   buf2, 0, cid,
+							   G_CALLBACK(chat_invite_accept),
+							   G_CALLBACK(chat_invite_data_free));
 }
 
 struct gaim_conversation *serv_got_joined_chat(struct gaim_connection *gc,