summaryrefslogtreecommitdiff
path: root/pango/pangoft2-fontmap.c
diff options
context:
space:
mode:
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)