diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-10 03:51:00 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-10 03:51:00 +0000 |
commit | fc92ee6d2a1f9d06053d432c911865a7cbc05d25 (patch) | |
tree | c795acded7c31c6e024e38c4927fc7b3e615929e /pango/pango-types.h | |
parent | 91b20d0e1ac51e5502f58f0e561791ab6c7f356e (diff) | |
download | pango-fc92ee6d2a1f9d06053d432c911865a7cbc05d25.tar.gz |
Fix memory leak by freeing correct list.
Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix
memory leak by freeing correct list.
* pango/pango-context.c (pango_context_get_font_description):
Change to return a pointer to the context's font description
instead of a copy. Not quite 100% kosher but a lot
more efficient than the previous. (Should we just refcount
font descriptions and get it over with?)
Diffstat (limited to 'pango/pango-types.h')
-rw-r--r-- | pango/pango-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-types.h b/pango/pango-types.h index 346d858f..8c518cb4 100644 --- a/pango/pango-types.h +++ b/pango/pango-types.h @@ -54,7 +54,7 @@ struct _PangoRectangle int height; }; -#define PANGO_SCALE 1000 +#define PANGO_SCALE 1024 /* Macros to translate from extents rectangles to ascent/descent/lbearing/rbearing */ |