Commit 404074e2 authored by Dave Love's avatar Dave Love

Include lisp.h, not ../src/lisp.h.

(make_drawing_gcs): Remove unused `xswa', `mask'.
parent e226063c
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment