# HG changeset patch # User Eric Warmenhoven # Date 1001543039 0 # Node ID 4ab2903f28a18bb76f9fbe8629ebce01f0145973 # Parent 94314b9dbda44e5d86f6760deac9693c1a9604dc [gaim-migrate @ 2378] hi committer: Tailor Script diff -r 94314b9dbda4 -r 4ab2903f28a1 src/gtkimhtml.c --- 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 (>K_WIDGET (imhtml)->style->fg [GTK_STATE_NORMAL]); imhtml->default_bg_color = gdk_color_copy (>K_WIDGET (imhtml)->style->base [GTK_STATE_NORMAL]); imhtml->hand_cursor = gdk_cursor_new (GDK_HAND2);