aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2007-11-21 00:26:15 +0000
committerKenichi Handa2007-11-21 00:26:15 +0000
commitd0167372fd1d93075dd0a57559e2a6ce8aa5d878 (patch)
tree917b49dcdfcda31026e4047bf1c7838bdd5f1809 /src
parentc458ef2aff6613e649cdbb5492e346ed6c39a2de (diff)
downloademacs-d0167372fd1d93075dd0a57559e2a6ce8aa5d878.tar.gz
emacs-d0167372fd1d93075dd0a57559e2a6ce8aa5d878.zip
(Fdelete_frame): Call font_update_drivers only when
USE_FONT_BACKEND is defined..
Diffstat (limited to 'src')
-rw-r--r--src/frame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 71513355184..f081de50f29 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. */)
1485 memory. */ 1485 memory. */
1486 free_glyphs (f); 1486 free_glyphs (f);
1487 1487
1488#ifdef USE_FONT_BACKEND
1488 /* Give chance to each font driver to free a frame specific data. */ 1489 /* Give chance to each font driver to free a frame specific data. */
1489 font_update_drivers (f, Qnil); 1490 font_update_drivers (f, Qnil);
1491#endif /* USE_FONT_BACKEND */
1490 1492
1491 /* Mark all the windows that used to be on FRAME as deleted, and then 1493 /* Mark all the windows that used to be on FRAME as deleted, and then
1492 remove the reference to them. */ 1494 remove the reference to them. */