changeset 27440:4fc04d98e1e8

Use purple_markup_escape_text instead of the glib version.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 09 Jul 2009 17:20:08 +0000
parents e1090ed76286
children b00f138c850a
files finch/gntconv.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntconv.c	Thu Jul 09 04:40:06 2009 +0000
+++ b/finch/gntconv.c	Thu Jul 09 17:20:08 2009 +0000
@@ -191,10 +191,7 @@
 	}
 	else
 	{
-		char *escape = g_markup_escape_text((*text == '/' ? text + 1 : text), -1);
-		char *apos = purple_strreplace(escape, "&apos;", "'");
-		g_free(escape);
-		escape = apos;
+		char *escape = purple_markup_escape_text((*text == '/' ? text + 1 : text), -1);
 		switch (purple_conversation_get_type(ggconv->active_conv))
 		{
 			case PURPLE_CONV_TYPE_IM: