changeset 91119:ceb3fe7d84dd

(Fdelete_frame): Call font_update_drivers only when USE_FONT_BACKEND is defined..
author Kenichi Handa <handa@m17n.org>
date Wed, 21 Nov 2007 00:26:15 +0000
parents 38234868c87a
children f5cf30ace11b
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Mon Nov 19 06:28:58 2007 +0000
+++ b/src/frame.c	Wed Nov 21 00:26:15 2007 +0000
@@ -1485,8 +1485,10 @@
      memory. */
   free_glyphs (f);
 
+#ifdef USE_FONT_BACKEND
   /* Give chance to each font driver to free a frame specific data.  */
   font_update_drivers (f, Qnil);
+#endif	/* USE_FONT_BACKEND */
 
   /* Mark all the windows that used to be on FRAME as deleted, and then
      remove the reference to them.  */