mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 02:38:07 +02:00
Add deprecation alias from cairo_select_font to cairo_select_font_face.
This commit is contained in:
parent
cf9ea30078
commit
9ba4dce811
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue