Wed, 26 Sep 2001 22:23:59 +0000
[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 (>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);