aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c
index 46bdf222315..d0c77149ba8 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -70,7 +70,7 @@ static struct frame *last_nonminibuf_frame;
70bool frame_garbaged; 70bool frame_garbaged;
71 71
72/* The default tool bar height for future frames. */ 72/* The default tool bar height for future frames. */
73#if defined USE_GTK || defined HAVE_NS 73#ifdef HAVE_EXT_TOOL_BAR
74enum { frame_default_tool_bar_height = 0 }; 74enum { frame_default_tool_bar_height = 0 };
75#else 75#else
76int frame_default_tool_bar_height; 76int frame_default_tool_bar_height;
@@ -712,7 +712,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
712 if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) 712 if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f))
713 FrameCols (FRAME_TTY (f)) = new_cols; 713 FrameCols (FRAME_TTY (f)) = new_cols;
714 714
715#if defined (HAVE_WINDOW_SYSTEM) && ! defined (USE_GTK) && ! defined (HAVE_NS) 715#if defined (HAVE_WINDOW_SYSTEM) && ! defined (HAVE_EXT_TOOL_BAR)
716 if (WINDOWP (f->tool_bar_window)) 716 if (WINDOWP (f->tool_bar_window))
717 { 717 {
718 XWINDOW (f->tool_bar_window)->pixel_width = new_windows_width; 718 XWINDOW (f->tool_bar_window)->pixel_width = new_windows_width;
@@ -848,7 +848,7 @@ make_frame (bool mini_p)
848 f->no_accept_focus = false; 848 f->no_accept_focus = false;
849 f->z_group = z_group_none; 849 f->z_group = z_group_none;
850 f->tooltip = false; 850 f->tooltip = false;
851#if ! defined (USE_GTK) && ! defined (HAVE_NS) 851#ifndef HAVE_EXT_TOOL_BAR
852 f->last_tool_bar_item = -1; 852 f->last_tool_bar_item = -1;
853#endif 853#endif
854#ifdef NS_IMPL_COCOA 854#ifdef NS_IMPL_COCOA