From: YAMAMOTO Mitsuharu Date: Sat, 29 Mar 2008 00:45:27 +0000 (+0000) Subject: (struct frame) [MAC_OS]: New member external_tool_bar. X-Git-Tag: emacs-pretest-22.2.90~289 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=882cbf8ea542d7951ea231c078ee024a2312b381;p=emacs.git (struct frame) [MAC_OS]: New member external_tool_bar. (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. --- diff --git a/src/frame.h b/src/frame.h index 54481281fab..47fdb1b685f 100644 --- a/src/frame.h +++ b/src/frame.h @@ -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