Mercurial > pidgin
changeset 31942:56ef2369f330
Fix the _add_pair_html/plaintext calls.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 24 Aug 2011 03:30:47 +0000 |
parents | 4ba344c46349 |
children | 4fa86d2d1778 |
files | libpurple/protocols/msn/msn.c |
diffstat | 1 files changed, 3 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Wed Aug 24 03:16:23 2011 +0000 +++ b/libpurple/protocols/msn/msn.c Wed Aug 24 03:30:47 2011 +0000 @@ -1101,8 +1101,6 @@ } if (currentmedia) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ purple_notify_user_info_add_pair_html(user_info, mediatype, currentmedia); g_free(currentmedia); } @@ -1129,23 +1127,17 @@ phone = msn_user_get_home_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Home Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Home Phone Number"), phone); } phone = msn_user_get_work_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Work Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Work Phone Number"), phone); } phone = msn_user_get_mobile_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Mobile Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Mobile Phone Number"), phone); } } }