diff options
| author | Andreas Schwab | 2008-07-11 11:20:21 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-07-11 11:20:21 +0000 |
| commit | e7c9048f9d548c4dd01853692dfec74d514b5820 (patch) | |
| tree | ee1c147b306f435e37a72f775e8db756c2c33ce6 /src/xmenu.c | |
| parent | 38aaf336a128d023147f798fc52c16d9797ff693 (diff) | |
| download | emacs-e7c9048f9d548c4dd01853692dfec74d514b5820.tar.gz emacs-e7c9048f9d548c4dd01853692dfec74d514b5820.zip | |
* 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.c | 7 |
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/>. */ | |||
| 94 | #endif /* not USE_X_TOOLKIT */ | 94 | #endif /* not USE_X_TOOLKIT */ |
| 95 | #endif /* HAVE_X_WINDOWS */ | 95 | #endif /* HAVE_X_WINDOWS */ |
| 96 | 96 | ||
| 97 | #ifdef USE_GTK | ||
| 98 | #include "gtkutil.h" | ||
| 99 | #endif | ||
| 100 | |||
| 101 | #include "menu.h" | ||
| 102 | |||
| 97 | #ifndef TRUE | 103 | #ifndef TRUE |
| 98 | #define TRUE 1 | 104 | #define TRUE 1 |
| 99 | #define FALSE 0 | 105 | #define FALSE 0 |
| @@ -125,7 +131,6 @@ static void popup_get_selection P_ ((XEvent *, struct x_display_info *, | |||
| 125 | #endif /* USE_X_TOOLKIT */ | 131 | #endif /* USE_X_TOOLKIT */ |
| 126 | 132 | ||
| 127 | #ifdef USE_GTK | 133 | #ifdef USE_GTK |
| 128 | #include "gtkutil.h" | ||
| 129 | extern void set_frame_menubar P_ ((FRAME_PTR, int, int)); | 134 | extern void set_frame_menubar P_ ((FRAME_PTR, int, int)); |
| 130 | static Lisp_Object xdialog_show P_ ((FRAME_PTR, int, Lisp_Object, Lisp_Object, | 135 | static Lisp_Object xdialog_show P_ ((FRAME_PTR, int, Lisp_Object, Lisp_Object, |
| 131 | char **)); | 136 | char **)); |