[gaim-migrate @ 2378]

Wed, 26 Sep 2001 22:23:59 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Wed, 26 Sep 2001 22:23:59 +0000
changeset 2365
31943a80ea3d
parent 2364
e571f2d55a8f
child 2366
9d6c6ef72d04

[gaim-migrate @ 2378]
hi

src/gtkimhtml.c file | annotate | diff | comparison | revisions
--- a/src/gtkimhtml.c	Wed Sep 26 20:31:06 2001 +0000
+++ b/src/gtkimhtml.c	Wed Sep 26 22:23:59 2001 +0000
@@ -1914,9 +1914,7 @@
 		{ "COMPOUND_TEXT", 0, TARGET_COMPOUND_TEXT }
 	};
 
-	imhtml->default_font = gtk_imhtml_font_load (imhtml, NULL, FALSE, FALSE, 0);
-	if (imhtml->default_font == NULL)
-		g_warning ("GtkIMHtml: Could not load default font!");
+	imhtml->default_font = gdk_font_ref (GTK_WIDGET (imhtml)->style->font);
 	imhtml->default_fg_color = gdk_color_copy (&GTK_WIDGET (imhtml)->style->fg [GTK_STATE_NORMAL]);
 	imhtml->default_bg_color = gdk_color_copy (&GTK_WIDGET (imhtml)->style->base [GTK_STATE_NORMAL]);
 	imhtml->hand_cursor = gdk_cursor_new (GDK_HAND2);

mercurial