diff src/gtkutils.c @ 7717:db3bdae1761e

[gaim-migrate @ 8362] And font face. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 03 Dec 2003 05:12:24 +0000
parents 2823111061ba
children d691cb95ee67
line wrap: on
line diff
--- a/src/gtkutils.c	Wed Dec 03 04:30:56 2003 +0000
+++ b/src/gtkutils.c	Wed Dec 03 05:12:24 2003 +0000
@@ -243,13 +243,10 @@
 
 	gtkconv->has_font = TRUE;
 
-	pre_fontface = g_strconcat("<FONT FACE=\"",
-							   gtkconv->fontface, "\">", NULL);
-	gaim_gtk_surround(gtkconv, pre_fontface, "</FONT>");
+	gtk_imhtml_toggle_fontface(GTK_IMHTML(gtkconv->entry), gtkconv->fontface);
 
 	gtk_widget_grab_focus(gtkconv->entry);
 
-	g_free(pre_fontface);
 }
 
 static int