From: Kenichi Handa Date: Tue, 21 Mar 2000 00:39:10 +0000 (+0000) Subject: (make_frame): Don't allocate f->fontset_data. X-Git-Tag: emacs-pretest-21.0.90~4574 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c08758e259600623e2bee080e637d29745b3400d;p=emacs.git (make_frame): Don't allocate f->fontset_data. (Fdelete_frame): Don't free f->fontset_data. --- 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) 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