1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00

(struct frame) [MAC_OS]: New member external_tool_bar.

(FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it.
This commit is contained in:
YAMAMOTO Mitsuharu 2008-03-29 00:45:27 +00:00
parent 5d604ffa13
commit 882cbf8ea5

View file

@ -219,7 +219,7 @@ struct frame
be used for output. */
unsigned glyphs_initialized_p : 1;
#if defined (USE_GTK)
#if defined (USE_GTK) || defined (MAC_OS)
/* Nonzero means using a tool bar that comes from the toolkit. */
int external_tool_bar;
#endif
@ -554,7 +554,7 @@ typedef struct frame *FRAME_PTR;
/* Nonzero if this frame should display a tool bar
in a way that does not use any text lines. */
#if defined (USE_GTK)
#if defined (USE_GTK) || defined (MAC_OS)
#define FRAME_EXTERNAL_TOOL_BAR(f) (f)->external_tool_bar
#else
#define FRAME_EXTERNAL_TOOL_BAR(f) 0