summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-02-02 16:20:55 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-02-02 16:21:22 -0800
commit1905cb763738396e16849006ffb07b24c9795b4d (patch)
tree43de3bd4dc204bee9808f6c4e160f41f15c55196 /src/frame.h
parentc10828bd8520db83cc06a2ad5de6f8a1ad74b83c (diff)
downloademacs-1905cb763738396e16849006ffb07b24c9795b4d.tar.gz
Omit unnecessary var if GTK or NS
* frame.c, frame.h (frame_default_tool_bar_height) [USE_GTK||HAVE_NS]: Now a constant zero on these platforms.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index cb0044cfe23..0c08d12c92e 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -1100,7 +1100,9 @@ SET_FRAME_VISIBLE (struct frame *f, int v)
extern Lisp_Object selected_frame;
+#if ! (defined USE_GTK || defined HAVE_NS)
extern int frame_default_tool_bar_height;
+#endif
extern struct frame *decode_window_system_frame (Lisp_Object);
extern struct frame *decode_live_frame (Lisp_Object);