diff src/protocols/msn/notification.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 175de59cd1c5
children 4f72b611f0ee
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Fri May 23 01:45:17 2003 +0000
+++ b/src/protocols/msn/notification.c	Fri May 23 02:42:52 2003 +0000
@@ -440,10 +440,9 @@
 			   _("The user %s (%s) wants to add %s to his or her buddy list."),
 			   passport, friend, gc->username);
 
-	do_ask_dialog(msg, NULL, pa,
-				  _("Authorize"), msn_accept_add_cb,
-				  _("Deny"), msn_cancel_add_cb,
-				  session->prpl->handle, FALSE);
+	gaim_request_action(gc, NULL, msg, NULL, 0, pa, 2,
+						_("Authorize"), G_CALLBACK(msn_accept_add_cb),
+						_("Deny"), G_CALLBACK(msn_cancel_add_cb));
 
 	return TRUE;
 }
@@ -715,10 +714,11 @@
 						   msn_user_get_passport(pa->user),
 						   msn_user_get_name(pa->user));
 
-				do_ask_dialog(msg, NULL, pa,
-							  _("Authorize"), msn_accept_add_cb,
-							  _("Deny"), msn_cancel_add_cb,
-							  session->prpl->handle, FALSE);
+				gaim_request_action(gc, NULL, msg, NULL, 0, pa, 2,
+									_("Authorize"),
+									G_CALLBACK(msn_accept_add_cb),
+									_("Deny"),
+									G_CALLBACK(msn_cancel_add_cb));
 			}
 		}