summaryrefslogtreecommitdiff
path: root/devel/gide/files/patch-plugins::help::help.c
blob: bb3e72eacc41e04d6b5ac91557161bdf13485971 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$FreeBSD$

--- plugins/help/help.c	2001/07/24 10:39:13	1.1
+++ plugins/help/help.c	2001/07/24 10:40:24
@@ -112,8 +112,8 @@
 		gtk_text_forward_delete(GTK_TEXT(text_widget),
 			gtk_text_get_length(GTK_TEXT(text_widget)));
 		/* FIXME: need to free the font */
-		bold = gdk_font_load(
-			"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1");
+		bold = gdk_fontset_load(
+			"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1,*");
 		gtk_text_insert(GTK_TEXT(text_widget), bold,
 			&text_widget->style->black, NULL,
 			_("You need to select a section first") , -1);
@@ -207,10 +207,10 @@
 	g_return_if_fail(GTK_IS_TEXT(text_widget));
 
 	/* FIXME: We should let the user select which font they want */
-	normal = gdk_font_load(
-		"-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1");
-	bold = gdk_font_load(
-		"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1");
+	normal = gdk_fontset_load(
+		"-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1,*");
+	bold = gdk_fontset_load(
+		"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1,*");
 
 	fp = popen(cmdstr, "r");
 	g_return_if_fail(fp);
@@ -307,10 +307,10 @@
 	g_return_if_fail(GTK_IS_TEXT(text_widget));
 
 	/* FIXME: We should let the user select which font they want */
-	normal = gdk_font_load(
-		"-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1");
-	bold = gdk_font_load(
-		"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1");
+	normal = gdk_fontset_load(
+		"-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1,*");
+	bold = gdk_fontset_load(
+		"-misc-fixed-bold-r-normal-*-*-120-*-*-c-*-iso8859-1,*");
 
 	fp = popen(cmdstr, "r");
 	g_return_if_fail(fp);