diff src/xmenu.c @ 96608:127e54f8220e

* menu.h: New file. * menu.c: Include it. * xmenu.c: Likewise. * Makefile.in: Update dependencies.
author Andreas Schwab <schwab@suse.de>
date Fri, 11 Jul 2008 11:20:21 +0000
parents c3a24b1a8412
children 864ac210d576
line wrap: on
line diff
--- a/src/xmenu.c	Fri Jul 11 07:32:32 2008 +0000
+++ b/src/xmenu.c	Fri Jul 11 11:20:21 2008 +0000
@@ -94,6 +94,12 @@
 #endif /* not USE_X_TOOLKIT */
 #endif /* HAVE_X_WINDOWS */
 
+#ifdef USE_GTK
+#include "gtkutil.h"
+#endif
+
+#include "menu.h"
+
 #ifndef TRUE
 #define TRUE 1
 #define FALSE 0
@@ -125,7 +131,6 @@
 #endif /* USE_X_TOOLKIT */
 
 #ifdef USE_GTK
-#include "gtkutil.h"
 extern void set_frame_menubar P_ ((FRAME_PTR, int, int));
 static Lisp_Object xdialog_show P_ ((FRAME_PTR, int, Lisp_Object, Lisp_Object,
 				     char **));