Commit 66d8c489 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

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

(FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it.
parent 5afbeb22
......@@ -214,7 +214,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
......@@ -549,7 +549,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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment