summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-04-07 18:38:20 +0900
committerSeungha Yang <seungha@centricular.com>2021-04-07 20:15:25 +0900
commit587834ca76aa80c2bf950396aa2e1edd0869f589 (patch)
tree13de7a5f0533a36758d8b1c80c4f8b27314b0265 /pango/pangowin32-private.h
parentacea99b46dd4f6b92229089633b0a5d54498d984 (diff)
downloadpango-587834ca76aa80c2bf950396aa2e1edd0869f589.tar.gz
pangowin32: Clear cmap on finalize
Implement copy method for format_4_cmap and format_12_cmap, and free don't leak the struct.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 1c9c1c09..3884c776 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -275,6 +275,10 @@ HFONT _pango_win32_font_get_hfont (PangoFont *font);
_PANGO_EXTERN
HDC _pango_win32_get_display_dc (void);
+_PANGO_EXTERN
+gpointer _pango_win32_copy_cmap (gpointer cmap,
+ guint16 cmap_format);
+
extern gboolean _pango_win32_debug;
#endif /* __PANGOWIN32_PRIVATE_H__ */