changeset 51143:d4196d00eba5

Include lisp.h, not ../src/lisp.h. (make_drawing_gcs): Remove unused `xswa', `mask'.
author Dave Love <fx@gnu.org>
date Thu, 22 May 2003 13:37:50 +0000
parents 45a8df254788
children 29b535fc81e8
files lwlib/xlwmenu.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Thu May 22 13:30:20 2003 +0000
+++ b/lwlib/xlwmenu.c	Thu May 22 13:37:50 2003 +0000
@@ -25,7 +25,7 @@
 #include <config.h>
 #endif
 
-#include "../src/lisp.h"
+#include "lisp.h"
 
 #include <stdio.h>
 
@@ -1707,8 +1707,6 @@
      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 @@
   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;