Bug 547432: Deprecation of pango_(backend)_font_map_create_context() not
authorSven Herzberg <sven@imendio.com>
Tue, 12 Aug 2008 15:08:16 +0000 (15:08 +0000)
committerSven Herzberg <herzi@src.gnome.org>
Tue, 12 Aug 2008 15:08:16 +0000 (15:08 +0000)
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

ChangeLog
pango/pangocairo-fontmap.c
pango/pangofc-fontmap.c
pango/pangoft2-fontmap.c
pango/pangowin32.c
pango/pangox.c
pango/pangoxft-fontmap.c

index 0fd2249..4d21e4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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
+
 2008-08-11  Behdad Esfahbod  <behdad@gnome.org>
 
        Bug 547303 – pango_layout_get_cursor_pos crashes on certain text
index 11f663d..3731196 100644 (file)
@@ -255,12 +255,11 @@ pango_cairo_font_map_get_resolution (PangoCairoFontMap *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.10
+ *
+ * Deprecated: 1.22: Use pango_font_map_create_context() instead.
  **/
 PangoContext *
 pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap)
index 053c346..e3963e8 100644 (file)
@@ -1415,12 +1415,11 @@ _pango_fc_font_map_fc_to_coverage (FcCharSet *charset)
  * needed for correct operation on the #PangoContext after calling
  * this function.
  *
- * As of Pango 1.20 this function is deprecated.
- * Use pango_font_map_create_context() instead.
- *
  * Return value: a new #PangoContext
  *
  * Since: 1.4
+ *
+ * Deprecated: 1.22: Use pango_font_map_create_context() instead.
  **/
 PangoContext *
 pango_fc_font_map_create_context (PangoFcFontMap *fcfontmap)
index f14ab9a..44b2826 100644 (file)
@@ -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)
index 889472b..d2e8ad5 100644 (file)
@@ -121,12 +121,11 @@ pango_win32_get_hfont (PangoFont *font)
  * pango_win32_get_context:
  *
  * Retrieves a #PangoContext appropriate for rendering with Windows fonts.
-  *
- * As of Pango 1.20 this function is deprecated.
- * Use pango_win32_font_map_for_display() followed by
- * pango_font_map_create_context() instead.
  *
  * Return value: the new #PangoContext
+ *
+ * Deprecated: 1.22: Use pango_win32_font_map_for_display() followed by
+ * pango_font_map_create_context() instead.
  **/
 PangoContext *
 pango_win32_get_context (void)
index 36ae85f..92bedff 100644 (file)
@@ -189,10 +189,10 @@ get_context_info (PangoContext *context)
  * Retrieves a #PangoContext appropriate for rendering with X fonts on the
  * given display.
  *
- * This function is deprecated.  Use pango_x_font_map_for_display() followed
- * by pango_font_map_create_context() instead.
- *
  * Return value: the new #PangoContext.
+ *
+ * Deprecated: 1.22: Use pango_x_font_map_for_display() followed by
+ * pango_font_map_create_context() instead.
  **/
 PangoContext *
 pango_x_get_context (Display *display)
index d2f582f..526998a 100644 (file)
@@ -317,11 +317,10 @@ _pango_xft_font_map_get_info (PangoFontMap *fontmap,
  * Retrieves a #PangoContext appropriate for rendering with
  * Xft fonts on the given screen of the given display.
  *
- * As of Pango 1.20 this function is deprecated.
- * Use pango_xft_get_font_map() followed by
- * pango_font_map_create_context() instead.
- *
  * Return value: the new #PangoContext.
+ *
+ * Deprecated: 1.22: Use pango_xft_get_font_map() followed by
+ * pango_font_map_create_context() instead.
  **/
 PangoContext *
 pango_xft_get_context (Display *display,