Mercurial > pidgin.yaz
diff src/protocols/jabber/jabber.c @ 3730:a20bf3d247ff
[gaim-migrate @ 3868]
Pretty do_ask_dialog. I also "fixed" the "hitting yes calls the 'no' function
anyway" behavior.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 17 Oct 2002 21:29:53 +0000 |
parents | 988485669631 |
children | f53370197bb9 |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Thu Oct 17 21:23:09 2002 +0000 +++ b/src/protocols/jabber/jabber.c Thu Oct 17 21:29:53 2002 +0000 @@ -1599,7 +1599,7 @@ /* * Callback from "accept" in do_ask_dialog() invoked by jabber_handles10n() */ -static void jabber_accept_add(gpointer w, struct jabber_add_permit *jap) +static void jabber_accept_add(struct jabber_add_permit *jap) { jabber_accept_deny_add(jap, "subscribed"); /* @@ -1616,7 +1616,7 @@ /* * Callback from "deny/cancel" in do_ask_dialog() invoked by jabber_handles10n() */ -static void jabber_deny_add(gpointer w, struct jabber_add_permit *jap) +static void jabber_deny_add(struct jabber_add_permit *jap) { jabber_accept_deny_add(jap, "unsubscribed"); g_free(jap->user); @@ -1645,7 +1645,7 @@ jap->gjc = gjc; jap->user = g_strdup(Jid); - do_ask_dialog(msg, jap, jabber_accept_add, jabber_deny_add); + do_ask_dialog(msg, NULL, jap, _("Authorize"), jabber_accept_add, _("Deny"), jabber_deny_add); g_free(msg); xmlnode_free(g); /* Never needed it here anyway */