$NetBSD: patch-ae,v 1.3 2000/10/15 17:38:56 rh Exp $ --- src/style.c.orig Sun Jun 18 15:48:08 2000 +++ src/style.c @@ -151,9 +151,6 @@ /* * Worst case scenario */ - if (font->dfont->gdk_font == NULL) - font->dfont->gdk_font = gdk_font_load ("fixed"); - font->font = gnome_font_new_closest ( font_name, bold ? GNOME_FONT_BOLD : GNOME_FONT_BOOK, @@ -223,7 +220,7 @@ { g_return_val_if_fail (sf != NULL, NULL); - return sf->dfont->gdk_font; + return gnome_display_font_get_gdk_font(sf->dfont); } GnomeFont * @@ -231,7 +228,7 @@ { g_return_val_if_fail (sf != NULL, NULL); - return sf->dfont->gnome_font; + return gnome_display_font_get_font(sf->dfont); } int