summaryrefslogtreecommitdiff
path: root/lwlib/xlwmenu.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2003-05-22 13:38:44 +0000
committerDave Love <fx@gnu.org>2003-05-22 13:38:44 +0000
commit404074e2262e0f8a576646c837b779d87db768ab (patch)
treebd2150e26345949bb728f17f1111edce94ed0051 /lwlib/xlwmenu.c
parente226063c2f509ec56a17121fbcbf1156259c549c (diff)
downloademacs-404074e2262e0f8a576646c837b779d87db768ab.tar.gz
Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.
Diffstat (limited to 'lwlib/xlwmenu.c')
-rw-r--r--lwlib/xlwmenu.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index e7c783596f9..8ebdfe81fbd 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#endif
-#include "../src/lisp.h"
+#include "lisp.h"
#include <stdio.h>
@@ -1707,8 +1707,6 @@ XlwMenuInitialize (request, mw, args, num_args)
Cardinal *num_args;
{
/* Get the GCs and the widget size */
- XSetWindowAttributes xswa;
- int mask;
Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw)));
Display* display = XtDisplay (mw);
@@ -1739,10 +1737,6 @@ XlwMenuInitialize (request, mw, args, num_args)
make_drawing_gcs (mw);
make_shadow_gcs (mw);
- xswa.background_pixel = mw->core.background_pixel;
- xswa.border_pixel = mw->core.border_pixel;
- mask = CWBackPixel | CWBorderPixel;
-
mw->menu.popped_up = False;
mw->menu.old_depth = 1;