summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-09-21 19:51:32 +0000
committerHans Breuer <hans@src.gnome.org>2001-09-21 19:51:32 +0000
commit2437d8fca72e6da68e08e855034178dcad4c1102 (patch)
tree5f31dd72200d8c6092f6acba90f3a14bd6a8df7d /pango/pangowin32.c
parentcab449096df5d3e2029719ab212ea3701e9f3b87 (diff)
downloadpango-2437d8fca72e6da68e08e855034178dcad4c1102.tar.gz
updated externals
2001-09-21 Hans Breuer <hans@breuer.org> * pango/pango.def : updated externals * pango/makefile.msc : build ft2 backend too. * pango/pangowin32-fontmap.c - Convert PangoWin32FamilyEntry into PangoWin32Family deriving from PangoFontFamily. - Convert PangoWin32FontEntry into PangoWin32Face deriving from PangoFontFace. - Change the list_families() method of the PangoWin32FontMap to list PangoFontFamily * rather than names. * pango/pangowin32.c : reflect PangoFontDescription api change * pango/pangowin32.h : don't include pango.h but only the required headers * modules/basic/basic-win32.c : #include "pango-engine.h" * pango/testfonts.c : reflect recent pango api changes
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 169731d2..18f128f0 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -455,8 +455,8 @@ pango_win32_font_describe (PangoFont *font)
PangoFontDescription *desc;
PangoWin32Font *win32font = PANGO_WIN32_FONT (font);
- desc = pango_font_description_copy (&win32font->entry->description);
- desc->size = win32font->size;
+ desc = pango_font_description_copy (win32font->entry->description);
+ pango_font_description_set_size (desc, win32font->size);
return desc;
}