Remove nothing from union output_data
* src/frame.h (union output_data): Remove ‘nothing’ member. It has had no effect for quite some time. All uses removed.
This commit is contained in:
parent
a01a722282
commit
bb42f6ef10
3 changed files with 0 additions and 4 deletions
|
@ -1115,7 +1115,6 @@ make_initial_frame (void)
|
|||
f->output_method = terminal->type;
|
||||
f->terminal = terminal;
|
||||
f->terminal->reference_count++;
|
||||
f->output_data.nothing = 0;
|
||||
|
||||
FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR;
|
||||
FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR;
|
||||
|
@ -2136,7 +2135,6 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
|
|||
if (FRAME_TERMINAL (f)->delete_frame_hook)
|
||||
(*FRAME_TERMINAL (f)->delete_frame_hook) (f);
|
||||
terminal = FRAME_TERMINAL (f);
|
||||
f->output_data.nothing = 0;
|
||||
f->terminal = 0; /* Now the frame is dead. */
|
||||
unblock_input ();
|
||||
|
||||
|
|
|
@ -573,7 +573,6 @@ struct frame
|
|||
struct x_output *x; /* From xterm.h. */
|
||||
struct w32_output *w32; /* From w32term.h. */
|
||||
struct ns_output *ns; /* From nsterm.h. */
|
||||
intptr_t nothing;
|
||||
}
|
||||
output_data;
|
||||
|
||||
|
|
|
@ -2099,7 +2099,6 @@ x_frame_of_widget (Widget widget)
|
|||
{
|
||||
f = XFRAME (frame);
|
||||
if (FRAME_X_P (f)
|
||||
&& f->output_data.nothing != 1
|
||||
&& FRAME_DISPLAY_INFO (f) == dpyinfo
|
||||
&& f->output_data.x->widget == widget)
|
||||
return f;
|
||||
|
|
Loading…
Add table
Reference in a new issue