summaryrefslogtreecommitdiff
path: root/pango/pangocairo.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-12 18:33:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-13 13:52:08 -0400
commit0e091322c494b1523617ca7488ea22e58f8a2c13 (patch)
tree394ed6a355c52ed4e9e19683eb3537ef26cae307 /pango/pangocairo.h
parentc403250103234ad09cd90e3e8a9ea838ce82d72e (diff)
downloadpango-0e091322c494b1523617ca7488ea22e58f8a2c13.tar.gz
Add deprecation attributes to deprecated functions
This is using the newly introduce G_DEPRECATED macros from GLib. Traditional deprecation guards are still in place. https://bugzilla.gnome.org/show_bug.cgi?id=661612
Diffstat (limited to 'pango/pangocairo.h')
-rw-r--r--pango/pangocairo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangocairo.h b/pango/pangocairo.h
index f6fc261e..81e842de 100644
--- a/pango/pangocairo.h
+++ b/pango/pangocairo.h
@@ -75,6 +75,7 @@ void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
double dpi);
double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap);
#ifndef PANGO_DISABLE_DEPRECATED
+G_DEPRECATED_FOR(pango_font_map_create_context)
PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap);
#endif