changeset 2691:b5698b2cad87

[gaim-migrate @ 2704] you did it wrong, sean. we should take the default for the widget (which in gaim always ends up being the default for the style, but that's ok) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 07 Nov 2001 21:17:32 +0000
parents 5a207e155c15
children c74482cb3a8b
files src/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Wed Nov 07 21:02:06 2001 +0000
+++ b/src/gtkimhtml.c	Wed Nov 07 21:17:32 2001 +0000
@@ -1886,7 +1886,7 @@
 		      gboolean   italics,
 		      gint       fontsize)
 {
-	GdkFont *default_font = GTK_IMHTML_GET_STYLE_FONT (GTK_WIDGET (imhtml)->style);
+	GdkFont *default_font = imhtml->default_font;
 	gchar *default_name;
 	gchar **xflds;