summaryrefslogtreecommitdiff
path: root/pango/pangowin32.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 20:36:00 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-04 17:28:40 -0400
commitd21ea13a22b1cab8c9cb604aa3fcd2ca8073befd (patch)
tree8d79daeb8f4254e319fede8bcc970f80cec83a2a /pango/pangowin32.h
parent5112387e2c5d4e298d5781070b2f0749a2f7f005 (diff)
downloadpango-d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd.tar.gz
Header cleanup
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE defines. All backend-only apis are moved into private headers, all apis that were engine-only are marked as deprecated, since engines are.
Diffstat (limited to 'pango/pangowin32.h')
-rw-r--r--pango/pangowin32.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/pango/pangowin32.h b/pango/pangowin32.h
index 99a738c9..406c428b 100644
--- a/pango/pangowin32.h
+++ b/pango/pangowin32.h
@@ -77,32 +77,30 @@ void pango_win32_render_transformed (HDC hdc,
int x,
int y);
-#ifdef PANGO_ENABLE_ENGINE
+#ifndef PANGO_DISABLE_DEPRECATED
/* For shape engines
*/
-#ifndef PANGO_DISABLE_DEPRECATED
PANGO_DEPRECATED_FOR(PANGO_GET_UNKNOWN_GLYPH)
PangoGlyph pango_win32_get_unknown_glyph (PangoFont *font,
gunichar wc);
-#endif /* PANGO_DISABLE_DEPRECATED */
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED
gint pango_win32_font_get_glyph_index(PangoFont *font,
gunichar wc);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED
HDC pango_win32_get_dc (void);
-PANGO_AVAILABLE_IN_1_2
+PANGO_DEPRECATED
gboolean pango_win32_get_debug_flag (void);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED
gboolean pango_win32_font_select_font (PangoFont *font,
HDC hdc);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED
void pango_win32_font_done_font (PangoFont *font);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED
double pango_win32_font_get_metrics_factor (PangoFont *font);
#endif