diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-06 09:27:54 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-06 09:27:54 +0400 |
commit | edd74c35125983cbf822b15828886c7d2e50b275 (patch) | |
tree | 2fd1c3704ee48251a092d1631dc0d560bfe1961d /src/window.h | |
parent | ba7b015436fce401af7f40d1ee8dcc08cdf2541a (diff) | |
download | emacs-edd74c35125983cbf822b15828886c7d2e50b275.tar.gz |
Separate read and write access to Lisp_Object slots of struct frame.
* frame.h (FGET, FSET): New macros similar to AREF and ASET.
* buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c:
* fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m:
* print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h:
* xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.h b/src/window.h index ece58d2cf97..da42250befa 100644 --- a/src/window.h +++ b/src/window.h @@ -468,14 +468,14 @@ struct window /* 1 if W is a menu bar window. */ #define WINDOW_MENU_BAR_P(W) \ - (WINDOWP (FVAR (WINDOW_XFRAME (W), menu_bar_window)) \ - && (W) == XWINDOW (FVAR (WINDOW_XFRAME (W), menu_bar_window))) + (WINDOWP (FGET (WINDOW_XFRAME (W), menu_bar_window)) \ + && (W) == XWINDOW (FGET (WINDOW_XFRAME (W), menu_bar_window))) /* 1 if W is a tool bar window. */ #define WINDOW_TOOL_BAR_P(W) \ - (WINDOWP (FVAR (WINDOW_XFRAME (W), tool_bar_window)) \ - && (W) == XWINDOW (FVAR (WINDOW_XFRAME (W), tool_bar_window))) + (WINDOWP (FGET (WINDOW_XFRAME (W), tool_bar_window)) \ + && (W) == XWINDOW (FGET (WINDOW_XFRAME (W), tool_bar_window))) /* Return the frame y-position at which window W starts. This includes a header line, if any. */ |