X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ftoolbar.h;h=0e65264d8649a2f7e3e27e0bd4fef80af01fbc88;hb=87c4768b9f74b6d48fb56908f29fb1dccadb11ea;hp=3bff80a1cdf3f905525c7159e79b620e5eb031c5;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/toolbar.h b/src/toolbar.h index 3bff80a..0e65264 100644 --- a/src/toolbar.h +++ b/src/toolbar.h @@ -22,19 +22,19 @@ Boston, MA 02111-1307, USA. */ /* Synched up with: Not in FSF. */ -#ifndef _XEMACS_TOOLBAR_H_ -#define _XEMACS_TOOLBAR_H_ - -#include "specifier.h" +#ifndef INCLUDED_toolbar_h_ +#define INCLUDED_toolbar_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) @@ -111,4 +110,4 @@ void mark_frame_toolbar_buttons_dirty (struct frame *f, enum toolbar_pos pos); #endif /* HAVE_TOOLBARS */ -#endif /* _XEMACS_TOOLBAR_H_ */ +#endif /* INCLUDED_toolbar_h_ */