aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/nsterm.h1
-rw-r--r--src/window.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c0f618630a8..bef939adb4f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12010-08-06 Jan Djärv <jan.h.d@swipnet.se> 12010-08-06 Jan Djärv <jan.h.d@swipnet.se>
2 2
3 * nsterm.h (x_set_menu_bar_lines): Declare.
4
5 * window.c: Don't include menu.h, it depends on lots of other .h-files.
6
3 * xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes. 7 * xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
4 8
5 * window.c: Include menu.h. 9 * window.c: Include menu.h.
diff --git a/src/nsterm.h b/src/nsterm.h
index 541b7e13daf..9b7f0accad1 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -761,6 +761,7 @@ extern int x_char_height (struct frame *f);
761extern int x_pixel_width (struct frame *f); 761extern int x_pixel_width (struct frame *f);
762extern int x_pixel_height (struct frame *f); 762extern int x_pixel_height (struct frame *f);
763extern void x_set_frame_alpha (struct frame *f); 763extern void x_set_frame_alpha (struct frame *f);
764extern void x_set_menu_bar_lines (struct frame *, Lisp_Object, Lisp_Object);
764extern void x_set_tool_bar_lines (struct frame *f, 765extern void x_set_tool_bar_lines (struct frame *f,
765 Lisp_Object value, 766 Lisp_Object value,
766 Lisp_Object oldval); 767 Lisp_Object oldval);
diff --git a/src/window.c b/src/window.c
index 29be829005d..1fabe72d72d 100644
--- a/src/window.c
+++ b/src/window.c
@@ -37,7 +37,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
37#include "blockinput.h" 37#include "blockinput.h"
38#include "intervals.h" 38#include "intervals.h"
39#include "termhooks.h" /* For FRAME_TERMINAL. */ 39#include "termhooks.h" /* For FRAME_TERMINAL. */
40#include "menu.h"
41 40
42#ifdef HAVE_X_WINDOWS 41#ifdef HAVE_X_WINDOWS
43#include "xterm.h" 42#include "xterm.h"
@@ -52,7 +51,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
52#include "nsterm.h" 51#include "nsterm.h"
53#endif 52#endif
54 53
55
56Lisp_Object Qwindowp, Qwindow_live_p, Qwindow_configuration_p; 54Lisp_Object Qwindowp, Qwindow_live_p, Qwindow_configuration_p;
57Lisp_Object Qdisplay_buffer; 55Lisp_Object Qdisplay_buffer;
58Lisp_Object Qscroll_up, Qscroll_down, Qscroll_command; 56Lisp_Object Qscroll_up, Qscroll_down, Qscroll_command;