summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2009-07-21 10:10:27 +0300
committerTor Lillqvist <tml@iki.fi>2009-07-21 10:10:27 +0300
commit8888c1c1ba25f1c527c4e7aeb7f426e20329b165 (patch)
tree69668d3721b2c1c1360dc298dccfd02a1c9fac85 /pango
parent8e348718e57d3f4ed04c9fdcb16a0019a6e13675 (diff)
downloadpango-8888c1c1ba25f1c527c4e7aeb7f426e20329b165.tar.gz
Bug 588060 -- Fonts missing on Cygwin
Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to use the built-in aliases code.
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 9801a305..100dbc7a 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -967,7 +967,7 @@ handle_alias_line (GString *line_buffer,
g_string_free (tmp_buffer2, TRUE);
}
-#ifdef G_OS_WIN32
+#ifdef HAVE_CAIRO_WIN32
static const char *builtin_aliases[] = {
"courier = \"courier new\"",
@@ -1061,7 +1061,7 @@ pango_load_aliases (void)
(GDestroyNotify)alias_free,
NULL);
-#ifdef G_OS_WIN32
+#ifdef HAVE_CAIRO_WIN32
read_builtin_aliases ();
#endif