patches/vte-01-vtefc.diff
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 3100 499eafbb1c5a
permissions -rw-r--r--
Merged trunk changes r9797:9829 into 217update branch.

--- vte-0.11.11/src/vtefc.c	2004-04-20 06:16:56.000000000 +0100
+++ vte-0.11.11.new/src/vtefc.c	2004-06-04 14:24:04.000000000 +0100
@@ -158,11 +158,13 @@
 				    _vte_fc_weight_from_pango_weight(weight));
 	}
 
+#ifdef FC_WIDTH
 	if (pango_mask & PANGO_FONT_MASK_STRETCH) {
 		stretch = pango_font_description_get_stretch(font_desc);
 		FcPatternAddInteger(pattern, FC_WIDTH,
 				    _vte_fc_width_from_pango_stretch(stretch));
 	}
+#endif
 
 	if (pango_mask & PANGO_FONT_MASK_STYLE) {
 		style = pango_font_description_get_style(font_desc);