summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fontmap.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-04-21 19:50:21 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-04-21 19:50:21 +0000
commit18348c428c2515bd6b0c4b3e97aaf9b0661e9d12 (patch)
treea28ff908ef2ba4d1c1e213310f9b794b0dc46302 /pango/pangocairo-fontmap.c
parente026cad714ef709b680efa8489012b823665d7e7 (diff)
downloadpango-18348c428c2515bd6b0c4b3e97aaf9b0661e9d12.tar.gz
Require cairo >= 1.6.4. Remove compat cruft that were added to support
2008-04-21 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_create_font_face): * pango/pangocairo-fontmap.c (pango_cairo_font_map_new_for_font_type): Require cairo >= 1.6.4. Remove compat cruft that were added to support older cairo that had cairo-atsui instead of cairo-quartz-font. svn path=/trunk/; revision=2601
Diffstat (limited to 'pango/pangocairo-fontmap.c')
-rw-r--r--pango/pangocairo-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 2dbb588d..70a1c821 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -130,7 +130,7 @@ pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype)
switch (fonttype)
{
#if defined(HAVE_CAIRO_ATSUI)
- case CAIRO_FONT_TYPE_ATSUI:
+ case CAIRO_FONT_TYPE_QUARTZ:
return g_object_new (PANGO_TYPE_CAIRO_ATSUI_FONT_MAP, NULL);
#endif
#if defined(HAVE_CAIRO_WIN32)