[pango/1.24] Bug 588060 -- Fonts missing on Cygwin



commit 4fb1de63b836c08e7f92e0d696d25c45985fa0d3
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]