diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-12-27 12:46:27 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-12-27 12:46:27 +0000 |
commit | 44d6d3f9abcbaec0d78ee86d37a5355acefc52b2 (patch) | |
tree | 22326158aaf2c36613ea3b70911b9ac4de0cc531 | |
parent | c6f3ebb92c26904fe8c4043c4cfa2051f983851d (diff) | |
download | pango-44d6d3f9abcbaec0d78ee86d37a5355acefc52b2.tar.gz |
Use pango_font_description_set_family_static. (bug #325013, Matthias
2005-12-27 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (pango_context_init): Use
pango_font_description_set_family_static. (bug #325013, Matthias
Clasen)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pango/pango-context.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2005-12-27 Behdad Esfahbod <behdad@gnome.org> + * pango/pango-context.c (pango_context_init): Use + pango_font_description_set_family_static. (bug #325013, Matthias + Clasen) + +2005-12-27 Behdad Esfahbod <behdad@gnome.org> + * pango/opentype/pango-ot-buffer.c: Use g_slice for PangoOTBuffer allocation. (bug #325026, Matthias Clasen) diff --git a/pango/pango-context.c b/pango/pango-context.c index c87ffd0a..0fdb4e6a 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -60,7 +60,7 @@ pango_context_init (PangoContext *context) context->font_map = NULL; context->font_desc = pango_font_description_new (); - pango_font_description_set_family (context->font_desc, "serif"); + pango_font_description_set_family_static (context->font_desc, "serif"); pango_font_description_set_style (context->font_desc, PANGO_STYLE_NORMAL); pango_font_description_set_variant (context->font_desc, PANGO_VARIANT_NORMAL); pango_font_description_set_weight (context->font_desc, PANGO_WEIGHT_NORMAL); |