# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1206751527 0 # Node ID 79a78354b1ddc699e938596e65a72797c5c66725 # Parent daffe30f78640d8fd8ba901e15d08c0826acac57 (struct frame) [MAC_OS]: New member external_tool_bar. (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. diff -r daffe30f7864 -r 79a78354b1dd src/frame.h --- a/src/frame.h Sat Mar 29 00:33:58 2008 +0000 +++ b/src/frame.h Sat Mar 29 00:45:27 2008 +0000 @@ -219,7 +219,7 @@ 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 @@ /* 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