[pango] Avoid deprecation warnings



commit b9bdbfdbb454bd172820344244b881cb4dc7826e
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 7 21:01:07 2013 -0500

    Avoid deprecation warnings

 pango/pangoft2-fontmap.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index dbf4980..4680888 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -266,6 +266,7 @@ pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap)
  *
  * Deprecated: 1.22: Use pango_font_map_create_context() instead.
  **/
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 PangoContext *
 pango_ft2_get_context (double dpi_x, double dpi_y)
 {
@@ -276,6 +277,7 @@ pango_ft2_get_context (double dpi_x, double dpi_y)
 
   return pango_font_map_create_context (fontmap);
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /**
  * pango_ft2_font_map_for_display:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]