comparison 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
comparison
equal deleted inserted replaced
96607:7d8582113c5a 96608:127e54f8220e
92 #include "../oldXMenu/XMenu.h" 92 #include "../oldXMenu/XMenu.h"
93 #endif 93 #endif
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
100 #endif /* no TRUE */ 106 #endif /* no TRUE */
101 107
123 static void popup_get_selection P_ ((XEvent *, struct x_display_info *, 129 static void popup_get_selection P_ ((XEvent *, struct x_display_info *,
124 LWLIB_ID, int)); 130 LWLIB_ID, int));
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 **));
132 #endif 137 #endif
133 138