diff options
| author | Kenichi Handa | 2000-03-21 00:39:10 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-03-21 00:39:10 +0000 |
| commit | c08758e259600623e2bee080e637d29745b3400d (patch) | |
| tree | a27adfba5328a7b2c43d286b2849a7b1116464e7 /src/frame.c | |
| parent | 1afa4408c0340abf288d516d49d20a45d9bc3d1d (diff) | |
| download | emacs-c08758e259600623e2bee080e637d29745b3400d.tar.gz emacs-c08758e259600623e2bee080e637d29745b3400d.zip | |
(make_frame): Don't allocate f->fontset_data.
(Fdelete_frame): Don't free f->fontset_data.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/frame.c b/src/frame.c index f5cc8bf1d32..9cb2537c3b5 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -417,10 +417,6 @@ make_frame (mini_p) | |||
| 417 | a newly-created, never-selected window. */ | 417 | a newly-created, never-selected window. */ |
| 418 | XSETFASTINT (XWINDOW (f->selected_window)->use_time, ++window_select_count); | 418 | XSETFASTINT (XWINDOW (f->selected_window)->use_time, ++window_select_count); |
| 419 | 419 | ||
| 420 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 421 | f->fontset_data = alloc_fontset_data (); | ||
| 422 | #endif | ||
| 423 | |||
| 424 | return f; | 420 | return f; |
| 425 | } | 421 | } |
| 426 | 422 | ||
| @@ -1264,11 +1260,6 @@ but if the second optional argument FORCE is non-nil, you may do so.") | |||
| 1264 | if (FRAME_MESSAGE_BUF (f)) | 1260 | if (FRAME_MESSAGE_BUF (f)) |
| 1265 | xfree (FRAME_MESSAGE_BUF (f)); | 1261 | xfree (FRAME_MESSAGE_BUF (f)); |
| 1266 | 1262 | ||
| 1267 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 1268 | /* Free all fontset data. */ | ||
| 1269 | free_fontset_data (FRAME_FONTSET_DATA (f)); | ||
| 1270 | #endif | ||
| 1271 | |||
| 1272 | /* Since some events are handled at the interrupt level, we may get | 1263 | /* Since some events are handled at the interrupt level, we may get |
| 1273 | an event for f at any time; if we zero out the frame's display | 1264 | an event for f at any time; if we zero out the frame's display |
| 1274 | now, then we may trip up the event-handling code. Instead, we'll | 1265 | now, then we may trip up the event-handling code. Instead, we'll |