diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2009-01-28 22:07:30 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2009-01-28 22:07:30 +0000 |
commit | ceb03fea0dd21294e5b7eb13d8bc6b94b512037e (patch) | |
tree | 8172633fc9e1983e7f7ebf857656da7c1522b745 /pango/pangocairo-win32font.c | |
parent | c436a45f4022fb8a4ac5dccc45f0c6427f332c1f (diff) | |
download | pango-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.c | 2 |
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); |