summaryrefslogtreecommitdiff
path: root/pango/pangoft2-fontmap.c
diff options
context:
space:
mode:
authorSven Herzberg <sven@imendio.com>2008-08-12 15:08:16 +0000
committerSven Herzberg <herzi@src.gnome.org>2008-08-12 15:08:16 +0000
commitf7cb402d8964bef106ee0b458140ef87cf730f2c (patch)
treeec7049d2dc2e403ebcd921200976c92c03177818 /pango/pangoft2-fontmap.c
parent681f92d78c2623ddb998018d3743a54f07680b69 (diff)
downloadpango-f7cb402d8964bef106ee0b458140ef87cf730f2c.tar.gz
Bug 547432: Deprecation of pango_(backend)_font_map_create_context() not
2008-08-12 Sven Herzberg <sven@imendio.com> Bug 547432: Deprecation of pango_(backend)_font_map_create_context() not clean reviewed by: Behdad Esfahbod * pango/pangocairo-fontmap.c, * pango/pangofc-fontmap.c, * pango/pangoft2-fontmap.c, * pango/pangowin32.c, * pango/pangox.c, * pango/pangoxft-fontmap.c: use "Deprecated:" for deprecation messages; fix the deprecation version number svn path=/trunk/; revision=2689
Diffstat (limited to 'pango/pangoft2-fontmap.c')
-rw-r--r--pango/pangoft2-fontmap.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index f14ab9aa..44b28266 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -217,12 +217,11 @@ pango_ft2_font_map_set_resolution (PangoFT2FontMap *fontmap,
*
* Create a #PangoContext for the given fontmap.
*
- * As of Pango 1.20 this function is deprecated.
- * Use pango_font_map_create_context() instead.
- *
* Return value: the newly created context; free with g_object_unref().
*
* Since: 1.2
+ *
+ * Deprecated: 1.22: Use pango_font_map_create_context() instead.
**/
PangoContext *
pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap)
@@ -241,10 +240,9 @@ pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap)
* (see pango_ft2_fontmap_get_for_display()) and sets the resolution
* for the default fontmap to @dpi_x by @dpi_y.
*
- * Use of this function is deprecated. Use pango_fontmap_create_context()
- * instead.
- *
* Return value: the new #PangoContext
+ *
+ * Deprecated: 1.22: Use pango_font_map_create_context() instead.
**/
PangoContext *
pango_ft2_get_context (double dpi_x, double dpi_y)