From: Kenichi Handa Date: Wed, 21 Nov 2007 00:26:15 +0000 (+0000) Subject: (Fdelete_frame): Call font_update_drivers only when X-Git-Tag: emacs-pretest-23.0.90~8295^2~246 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/d0167372fd1d93075dd0a57559e2a6ce8aa5d878 (Fdelete_frame): Call font_update_drivers only when USE_FONT_BACKEND is defined.. --- diff --git a/src/frame.c b/src/frame.c index 7151335518..f081de50f2 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1485,8 +1485,10 @@ The functions are run with one arg, the frame to be deleted. */) 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. */