Mercurial > pidgin
diff src/protocols/jabber/jabber.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 | dfdea22a7153 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Fri May 23 01:45:17 2003 +0000 +++ b/src/protocols/jabber/jabber.c Fri May 23 02:42:52 2003 +0000 @@ -1661,7 +1661,8 @@ } /* - * Callback from "accept" in do_ask_dialog() invoked by jabber_handles10n() + * Callback from "accept" in gaim_request_action() invoked + * by jabber_handles10n() */ static void jabber_accept_add(struct jabber_add_permit *jap) { @@ -1681,7 +1682,8 @@ } /* - * Callback from "deny/cancel" in do_ask_dialog() invoked by jabber_handles10n() + * Callback from "deny/cancel" in gaim_request_action() invoked + * by jabber_handles10n() */ static void jabber_deny_add(struct jabber_add_permit *jap) { @@ -1715,7 +1717,10 @@ jap->gc = GJ_GC(gjc); jap->user = g_strdup(Jid); - do_ask_dialog(msg, NULL, jap, _("Authorize"), jabber_accept_add, _("Deny"), jabber_deny_add, my_protocol->handle, FALSE); + + gaim_request_action(jap->gc, NULL, msg, NULL, 0, jap, 2, + _("Authorize"), G_CALLBACK(jabber_accept_add), + _("Deny"), G_CALLBACK(jabber_deny_add)); g_free(msg); xmlnode_free(g); /* Never needed it here anyway */