Mercurial > emacs
changeset 9309:27370f65dfa1
(make_frame, Fframe_parameters, Fselected_frame, syms_of_frame): Don't use
XFASTINT as an lvalue.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 04 Oct 1994 15:54:06 +0000 |
parents | 2c594629baaa |
children | 1dfd9def3467 |
files | src/frame.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Tue Oct 04 15:53:00 1994 +0000 +++ b/src/frame.c Tue Oct 04 15:54:06 1994 +0000 @@ -197,14 +197,14 @@ f->width = 10; f->height = 10; - XFASTINT (XWINDOW (root_window)->width) = 10; - XFASTINT (XWINDOW (root_window)->height) = (mini_p ? 9 : 10); + XSETFASTINT (XWINDOW (root_window)->width, 10); + XSETFASTINT (XWINDOW (root_window)->height, (mini_p ? 9 : 10)); if (mini_p) { - XFASTINT (XWINDOW (mini_window)->width) = 10; - XFASTINT (XWINDOW (mini_window)->top) = 9; - XFASTINT (XWINDOW (mini_window)->height) = 1; + XSETFASTINT (XWINDOW (mini_window)->width, 10); + XSETFASTINT (XWINDOW (mini_window)->top, 9); + XSETFASTINT (XWINDOW (mini_window)->height, 1); } /* Choose a buffer for the frame's root window. */ @@ -233,7 +233,7 @@ f->selected_window = root_window; /* Make sure this window seems more recently used than a newly-created, never-selected window. */ - XFASTINT (XWINDOW (f->selected_window)->use_time) = ++window_select_count; + XSETFASTINT (XWINDOW (f->selected_window)->use_time, ++window_select_count); return f; } @@ -1430,7 +1430,7 @@ { /* This ought to be correct in f->param_alist for an X frame. */ Lisp_Object lines; - XFASTINT (lines) = FRAME_MENU_BAR_LINES (f); + XSETFASTINT (lines, FRAME_MENU_BAR_LINES (f)); store_in_alist (&alist, Qmenu_bar_lines, lines); } return alist; @@ -1856,7 +1856,7 @@ () { Lisp_Object tem; - XFASTINT (tem) = 0; + XSETFASTINT (tem, 0); return tem; } @@ -2119,7 +2119,7 @@ DEFVAR_LISP ("terminal-frame", &Vterminal_frame, "The initial frame-object, which represents Emacs's stdout."); - XFASTINT (Vterminal_frame) = 0; + XSETFASTINT (Vterminal_frame, 0); defsubr (&Sselected_frame); defsubr (&Sframe_first_window);