Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.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 | 811f12c8a5e4 |
children | 55af3fa46329 |
comparison
equal
deleted
inserted
replaced
10731:783ca1f1ebdb | 10732:c4cb90065e1d |
---|---|
612 args[0] = convo->name; | 612 args[0] = convo->name; |
613 args[1] = what; | 613 args[1] = what; |
614 | 614 |
615 irc_cmd_privmsg(irc, "msg", NULL, args); | 615 irc_cmd_privmsg(irc, "msg", NULL, args); |
616 | 616 |
617 tmp = gaim_escape_html(what); | 617 tmp = g_markup_escape_text(what, -1); |
618 serv_got_chat_in(gc, id, gaim_connection_get_display_name(gc), 0, tmp, time(NULL)); | 618 serv_got_chat_in(gc, id, gaim_connection_get_display_name(gc), 0, tmp, time(NULL)); |
619 g_free(tmp); | 619 g_free(tmp); |
620 return 0; | 620 return 0; |
621 } | 621 } |
622 | 622 |