summaryrefslogtreecommitdiff
path: root/pango/pangowin32.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/pangowin32.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/pangowin32.h')
-rw-r--r--pango/pangowin32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangowin32.h b/pango/pangowin32.h
index 6653a17a..a27c4730 100644
--- a/pango/pangowin32.h
+++ b/pango/pangowin32.h
@@ -42,6 +42,7 @@ G_BEGIN_DECLS
/* Calls for applications
*/
#ifndef PANGO_DISABLE_DEPRECATED
+G_DEPRECATED_FOR(pango_font_map_create_context)
PangoContext * pango_win32_get_context (void);
#endif
@@ -72,6 +73,7 @@ void pango_win32_render_transformed (HDC hdc,
*/
#ifndef PANGO_DISABLE_DEPRECATED
+G_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
PangoGlyph pango_win32_get_unknown_glyph (PangoFont *font,
gunichar wc);
#endif /* PANGO_DISABLE_DEPRECATED */