Mercurial > pidgin
diff src/gtkutils.c @ 8061:ea073d234191
[gaim-migrate @ 8749]
<b><i><u>what you see is what you get</u></i></b>
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sat, 10 Jan 2004 06:06:02 +0000 |
| parents | fa6395637e2c |
| children | ea3eb461efc0 |
line wrap: on
line diff
--- a/src/gtkutils.c Sat Jan 10 05:20:50 2004 +0000 +++ b/src/gtkutils.c Sat Jan 10 06:06:02 2004 +0000 @@ -242,8 +242,6 @@ gaim_gtk_set_font_face(GaimGtkConversation *gtkconv, const char *font) { - char *pre_fontface; - if (gtkconv == NULL || font == NULL) return; @@ -253,12 +251,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
