diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-07-06 18:07:27 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-09-26 11:04:25 +0800 |
commit | 6843d7fdd75382a162eefe0034d3e8e1d3b50293 (patch) | |
tree | 110db285d9391e32bdbffb33ec194803c08880ee /pango/pango-font-private.h | |
parent | 0cebf7cf50c49ea30f00bdce724d290e43b8e29d (diff) | |
download | pango-6843d7fdd75382a162eefe0034d3e8e1d3b50293.tar.gz |
pangowin32: Initialize DirectWrite
We set up the boilerplate that is necessary for using DirectWrite in our code.
Also add code to tear it down after we are done with it.
Diffstat (limited to 'pango/pango-font-private.h')
-rw-r--r-- | pango/pango-font-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-font-private.h b/pango/pango-font-private.h index e95abc7a..fbdad850 100644 --- a/pango/pango-font-private.h +++ b/pango/pango-font-private.h @@ -61,7 +61,7 @@ void pango_font_get_matrix (PangoFont *font, static inline int pango_font_get_absolute_size (PangoFont *font) { GTypeClass *klass = (GTypeClass *) PANGO_FONT_GET_CLASS (font); - PangoFontClassPrivate *priv = g_type_class_get_private (klass, PANGO_TYPE_FONT); + PangoFontClassPrivate *priv = (PangoFontClassPrivate *) g_type_class_get_private (klass, PANGO_TYPE_FONT); return priv->get_absolute_size (font); } |