summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32font.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2009-01-28 22:07:30 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2009-01-28 22:07:30 +0000
commitceb03fea0dd21294e5b7eb13d8bc6b94b512037e (patch)
tree8172633fc9e1983e7f7ebf857656da7c1522b745 /pango/pangocairo-win32font.c
parentc436a45f4022fb8a4ac5dccc45f0c6427f332c1f (diff)
downloadpango-ceb03fea0dd21294e5b7eb13d8bc6b94b512037e.tar.gz
Remove desc argument from _pango_cairo_font_private_initialize(). Replace
2009-01-09 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new): * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): * pango/pangocairo-font.c (_pango_cairo_font_private_initialize): * pango/pangocairo-private.h: * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Remove desc argument from _pango_cairo_font_private_initialize(). Replace it with gravity, the only thing from desc we actually needed. This is in preparation for lazy loading of fonts in the pangofc fontmap. svn path=/trunk/; revision=2803
Diffstat (limited to 'pango/pangocairo-win32font.c')
-rw-r--r--pango/pangocairo-win32font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-win32font.c b/pango/pangocairo-win32font.c
index 7fd29f47..3493d582 100644
--- a/pango/pangocairo-win32font.c
+++ b/pango/pangocairo-win32font.c
@@ -318,7 +318,7 @@ _pango_cairo_win32_font_new (PangoCairoWin32FontMap *cwfontmap,
_pango_cairo_font_private_initialize (&cwfont->cf_priv,
(PangoCairoFont *) cwfont,
- desc,
+ pango_font_description_get_gravity (desc),
_pango_cairo_context_get_merged_font_options (context),
pango_context_get_matrix (context),
&font_matrix);