1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(make_frame): Don't allocate f->fontset_data.

(Fdelete_frame): Don't free f->fontset_data.
This commit is contained in:
Kenichi Handa 2000-03-21 00:39:10 +00:00
parent 1afa4408c0
commit c08758e259

View file

@ -417,10 +417,6 @@ make_frame (mini_p)
a newly-created, never-selected window. */
XSETFASTINT (XWINDOW (f->selected_window)->use_time, ++window_select_count);
#ifdef HAVE_WINDOW_SYSTEM
f->fontset_data = alloc_fontset_data ();
#endif
return f;
}
@ -1264,11 +1260,6 @@ but if the second optional argument FORCE is non-nil, you may do so.")
if (FRAME_MESSAGE_BUF (f))
xfree (FRAME_MESSAGE_BUF (f));
#ifdef HAVE_WINDOW_SYSTEM
/* Free all fontset data. */
free_fontset_data (FRAME_FONTSET_DATA (f));
#endif
/* Since some events are handled at the interrupt level, we may get
an event for f at any time; if we zero out the frame's display
now, then we may trip up the event-handling code. Instead, we'll