Add deprecation alias from cairo_select_font to cairo_select_font_face.

This commit is contained in:
Carl Worth 2005-04-11 11:20:08 +00:00
parent cf9ea30078
commit 9ba4dce811
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-04-11 Carl Worth <cworth@cworth.org>
* src/cairo.c (cairo_select_font_face): Add deprecation alias from
cairo_select_font to cairo_select_font_face.
2005-04-11 Owen Taylor <otaylor@redhat.com>
* src/cairo.h doc/public/cairo-sections.txt

View file

@ -1544,6 +1544,7 @@ cairo_select_font_face (cairo_t *cr,
cr->status = _cairo_gstate_select_font_face (cr->gstate, family, slant, weight);
CAIRO_CHECK_SANITY (cr);
}
DEPRECATE (cairo_select_font, cairo_select_font_face);
/**
* cairo_get_font_face: