summaryrefslogtreecommitdiff
path: root/math/gnumeric/patches/patch-ae
blob: 021577c011d32d80bd8cbea7eec676eda53f56e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$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