diff options
author | Kenichi Handa <[email protected]> | 2007-11-21 00:26:15 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2007-11-21 00:26:15 +0000 |
commit | d0167372fd1d93075dd0a57559e2a6ce8aa5d878 (patch) | |
tree | 917b49dcdfcda31026e4047bf1c7838bdd5f1809 /src/frame.c | |
parent | c458ef2aff6613e649cdbb5492e346ed6c39a2de (diff) |
(Fdelete_frame): Call font_update_drivers only when
USE_FONT_BACKEND is defined..
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |