summaryrefslogtreecommitdiff
path: root/src/cairo-deprecated.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-03-23 15:31:24 +0100
committerBenjamin Otte <otte@gnome.org>2008-03-23 15:31:24 +0100
commit9a1f7bbc357ecce351b459f883b4ebeaa6640b65 (patch)
tree48410c3dba6dae1d68ccb631f5186cc301d2dd76 /src/cairo-deprecated.h
parent104c2825ea66d7d5f405cc8d690d90b45e752c46 (diff)
downloadcairo-9a1f7bbc357ecce351b459f883b4ebeaa6640b65.tar.gz
[API] unbreak CAIRO_FONT_TYPE_ATSUI
commit 9d61f7db8082baf3a223c4ea41a53de372676e40 broke API by making the CAIRO_FONT_TYPE_ATSUI symbol not work anymore. However, this symbol was part of Cairo's public API and should continue working this way.
Diffstat (limited to 'src/cairo-deprecated.h')
-rw-r--r--src/cairo-deprecated.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-deprecated.h b/src/cairo-deprecated.h
index 49aab8bb2..c73d2b781 100644
--- a/src/cairo-deprecated.h
+++ b/src/cairo-deprecated.h
@@ -50,6 +50,8 @@
*/
#define CAIRO_FORMAT_RGB16_565 4
+#define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_QUARTZ
+
#ifndef _CAIROINT_H_
/* Obsolete functions. These definitions exist to coerce the compiler
@@ -105,7 +107,6 @@
#define cairo_pdf_surface_set_dpi cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
#define cairo_svg_surface_set_dpi cairo_svg_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution
#define cairo_atsui_font_face_create_for_atsu_font_id cairo_atsui_font_face_create_for_atsu_font_id_REPLACED_BY_cairo_quartz_font_face_create_for_atsu_font_id
-#define CAIRO_FONT_TYPE_ATSUI CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ
#define cairo_current_path cairo_current_path_DEPRECATED_BY_cairo_copy_path
#define cairo_current_path_flat cairo_current_path_flat_DEPRECATED_BY_cairo_copy_path_flat