summaryrefslogtreecommitdiff
path: root/pango/pangox-fontcache.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-06-05 19:36:33 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-06-05 19:36:33 +0000
commit7b428440247958a9c52fe29c4aeeecfd6f43f39b (patch)
tree586a5c61355a622caab97e583e703e2390dbbf8f /pango/pangox-fontcache.c
parent40638f2de292719e3615e5ae77ff5f97d57300bc (diff)
downloadpango-7b428440247958a9c52fe29c4aeeecfd6f43f39b.tar.gz
Fix problem with unloading fonts.
Mon Jun 5 15:35:03 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix problem with unloading fonts. * pango/pangox-fontmap.c pango/pangox-private.h pangox/pangox.c: Add a simple PangoXFont; get rid of the eternal caching of all fonts.
Diffstat (limited to 'pango/pangox-fontcache.c')
-rw-r--r--pango/pangox-fontcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangox-fontcache.c b/pango/pangox-fontcache.c
index 50264a2c..14b17a70 100644
--- a/pango/pangox-fontcache.c
+++ b/pango/pangox-fontcache.c
@@ -238,7 +238,7 @@ pango_x_font_cache_unload (PangoXFontCache *cache,
g_return_if_fail (cache != NULL);
g_return_if_fail (fs != NULL);
- entry = g_hash_table_lookup (cache->forward, fs);
+ entry = g_hash_table_lookup (cache->back, fs);
g_return_if_fail (entry != NULL);
cache_entry_unref (cache, entry);