From 0e091322c494b1523617ca7488ea22e58f8a2c13 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 12 Oct 2011 18:33:03 -0400 Subject: 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 --- pango/pangowin32.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pango/pangowin32.h') 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 */ -- cgit v1.2.1