XEmacs 21.2.25 "Hephaestus".
[chise/xemacs-chise.git-] / src / toolbar.h
index 3bff80a..7e3376f 100644 (file)
@@ -25,16 +25,16 @@ Boston, MA 02111-1307, USA.  */
 #ifndef _XEMACS_TOOLBAR_H_
 #define _XEMACS_TOOLBAR_H_
 
-#include "specifier.h"
-
 #ifdef HAVE_TOOLBARS
 
+#include "specifier.h"
+
 #define FRAME_TOOLBAR_BUTTONS(frame, pos)      \
   ((frame)->toolbar_buttons[pos])
 #define FRAME_CURRENT_TOOLBAR_SIZE(frame, pos) \
   ((frame)->current_toolbar_size[pos])
 #define DEVICE_SUPPORTS_TOOLBARS_P(d)          \
-  (HAS_DEVMETH_P ((d), output_frame_toolbars))
+  HAS_DEVMETH_P (d, output_frame_toolbars)
 
 struct toolbar_button
 {
@@ -65,7 +65,7 @@ struct toolbar_button
   int dirty;
   /* is this button in a left or right toolbar? */
   int vertical;
-  /* border_width when this button was layed out */
+  /* border_width when this button was laid out */
   int border_width;
 };
 
@@ -73,7 +73,6 @@ DECLARE_LRECORD (toolbar_button, struct toolbar_button);
 #define XTOOLBAR_BUTTON(x) XRECORD (x, toolbar_button, struct toolbar_button)
 #define XSETTOOLBAR_BUTTON(x, p) XSETRECORD (x, p, toolbar_button)
 #define TOOLBAR_BUTTONP(x) RECORDP (x, toolbar_button)
-#define GC_TOOLBAR_BUTTONP(x) GC_RECORDP (x, toolbar_button)
 #define CHECK_TOOLBAR_BUTTON(x) CHECK_RECORD (x, toolbar_button)
 #define CONCHECK_TOOLBAR_BUTTON(x) CONCHECK_RECORD (x, toolbar_button)