]> code.delx.au - gnu-emacs/commitdiff
(make_frame): Don't allocate f->fontset_data.
authorKenichi Handa <handa@m17n.org>
Tue, 21 Mar 2000 00:39:10 +0000 (00:39 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 21 Mar 2000 00:39:10 +0000 (00:39 +0000)
(Fdelete_frame): Don't free f->fontset_data.

src/frame.c

index f5cc8bf1d3225968241c96ee15724e3f35f90818..9cb2537c3b56d169a7815f6b5ca9bc5f7008fef7 100644 (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;
 }
 \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