comparison src/protocols/yahoo/yahoo.c @ 10732:c4cb90065e1d

[gaim-migrate @ 12334] "gaim_escape_html (according to Ethan) predates g_markup_escape_text. Current code in Gaim uses both functions. This patch removes gaim_escape_html from the API and replaces all calls in the Gaim tree with g_markup_escape_text. I included a ChangeLog.API note. As far as I can tell, this still works perfectly. This is obviously intended for HEAD only, as it removes a public function." --rlaager this was discussed extensively this morning committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 26 Mar 2005 02:43:49 +0000
parents b256ce6b85b8
children 55af3fa46329
comparison
equal deleted inserted replaced
10731:783ca1f1ebdb 10732:c4cb90065e1d
682 } 682 }
683 683
684 if (!msg || !g_utf8_validate(msg, -1, NULL)) 684 if (!msg || !g_utf8_validate(msg, -1, NULL))
685 return; 685 return;
686 686
687 escmsg = gaim_escape_html(msg); 687 escmsg = g_markup_escape_text(msg, -1);
688 688
689 prim = g_strdup_printf(_("Yahoo! system message for %s:"), 689 prim = g_strdup_printf(_("Yahoo! system message for %s:"),
690 me?me:gaim_connection_get_display_name(gc)); 690 me?me:gaim_connection_get_display_name(gc));
691 gaim_notify_info(NULL, NULL, prim, escmsg); 691 gaim_notify_info(NULL, NULL, prim, escmsg);
692 g_free(prim); 692 g_free(prim);