(make_drawing_gcs): Remove unused `xswa', `mask'.
+2003-05-22 Dave Love <fx@gnu.org>
+
+ * xlwmenu.c: Include lisp.h, not ../src/lisp.h.
+ (make_drawing_gcs): Remove unused `xswa', `mask'.
+
+ * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h.
+ (lw_lucid_widget_p): Remove unused `mw'.
+ (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: Provide
+ ISO C arglists.
+
2003-04-30 Lute Kamstra <Lute.Kamstra@cwi.nl>
* Makefile.in: Make things function properly in case both LessTif
#include <config.h>
#endif
-#include "../src/lisp.h"
+#include "lisp.h"
#include <stdio.h>
Cardinal *num_args;
{
/* Get the GCs and the widget size */
- XSetWindowAttributes xswa;
- int mask;
Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw)));
Display* display = XtDisplay (mw);
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;