[pango] Bug 588060 -- Fonts missing on Cygwin
- From: Tor Lillqvist <tml src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango] Bug 588060 -- Fonts missing on Cygwin
- Date: Tue, 21 Jul 2009 07:12:47 +0000 (UTC)
commit 8888c1c1ba25f1c527c4e7aeb7f426e20329b165
Author: Tor Lillqvist <tml iki fi>
Date: Tue Jul 21 10:10:27 2009 +0300
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.
pango/pango-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 9801a30..100dbc7 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]