summaryrefslogtreecommitdiff
path: root/pango/pangoft2-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-07 21:01:07 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-07 21:07:00 -0500
commitb9bdbfdbb454bd172820344244b881cb4dc7826e (patch)
treef0c1dd3f7144d9b7aa89804cd27e758b061ce641 /pango/pangoft2-fontmap.c
parent3b075896608f252a9cfba76a1d7d40f9fe5b24c4 (diff)
downloadpango-b9bdbfdbb454bd172820344244b881cb4dc7826e.tar.gz
Avoid deprecation warnings
Diffstat (limited to 'pango/pangoft2-fontmap.c')
-rw-r--r--pango/pangoft2-fontmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index dbf4980f..46808889 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: