diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-06 00:49:23 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-06 00:49:23 +0000 |
commit | 7d1548546ec01ec01b7d8c9b2d47299e3c77b7ba (patch) | |
tree | 6e9faf238b1d9893c04d604f9c1664347aece7dc /pango/pangox.h | |
parent | 7b428440247958a9c52fe29c4aeeecfd6f43f39b (diff) | |
download | pango-7d1548546ec01ec01b7d8c9b2d47299e3c77b7ba.tar.gz |
Add a function to free cached information for a particular display. (This
Mon Jun 5 20:45:12 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c (pango_x_shutdown_display): Add
a function to free cached information for a particular
display. (This is basically pango_x_fontmap_destroy())
* pango/pangox.c pango/pangox-private.h pango/pangox-fontmap.c:
Make a XFont always keep a pointer to (and ref) a fontmap.
Diffstat (limited to 'pango/pangox.h')
-rw-r--r-- | pango/pangox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pangox.h b/pango/pangox.h index 5e44ab30..43750708 100644 --- a/pango/pangox.h +++ b/pango/pangox.h @@ -95,7 +95,8 @@ XFontStruct * pango_x_font_cache_load (PangoXFontCache *cache, void pango_x_font_cache_unload (PangoXFontCache *cache, XFontStruct *fs); -PangoFontMap * pango_x_font_map_for_display (Display *display); +PangoFontMap * pango_x_font_map_for_display (Display *display); +void pango_x_shutdown_display (Display *display); PangoXFontCache *pango_x_font_map_get_font_cache (PangoFontMap *font_map); char *pango_x_font_subfont_xlfd (PangoFont *font, |