summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-07-11 11:20:21 +0000
committerAndreas Schwab <schwab@suse.de>2008-07-11 11:20:21 +0000
commite7c9048f9d548c4dd01853692dfec74d514b5820 (patch)
treeee1c147b306f435e37a72f775e8db756c2c33ce6 /src/xmenu.c
parent38aaf336a128d023147f798fc52c16d9797ff693 (diff)
downloademacs-e7c9048f9d548c4dd01853692dfec74d514b5820.tar.gz
* menu.h: New file.
* menu.c: Include it. * xmenu.c: Likewise. * Makefile.in: Update dependencies.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index bba202e4504..ca0bcdf7d23 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -94,6 +94,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#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 @@ static void popup_get_selection P_ ((XEvent *, struct x_display_info *,
#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 **));