# HG changeset patch # User Christian Hammond # Date 1053598915 0 # Node ID 084147a0d9e4f96795c6019c4655a22fc24cfbd6 # Parent f19620d8694ffdae5029abec93a05f91ecb7d740 [gaim-migrate @ 5877] This is the first thing to use the new request API. committer: Tailor Script diff -r f19620d8694f -r 084147a0d9e4 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Thu May 22 10:21:43 2003 +0000 +++ b/src/protocols/msn/msn.c Thu May 22 10:21:55 2003 +0000 @@ -43,7 +43,7 @@ } MsnMobileData; static void -msn_act_id(gpointer data, char *entry) +msn_act_id(const char *entry, void *data) { struct gaim_connection *gc = data; MsnSession *session = gc->proto_data; @@ -159,8 +159,10 @@ static void msn_show_set_friendly_name(struct gaim_connection *gc) { - do_prompt_dialog(_("Set Friendly Name:"), gc->displayname, - gc, msn_act_id, NULL); + gaim_request_input(gc, NULL, _("Set your friendly name."), NULL, + gc->displayname, FALSE, + _("OK"), G_CALLBACK(msn_act_id), + _("Cancel"), NULL, gc); } static void