# HG changeset patch # User Dave Love # Date 1053610670 0 # Node ID d4196d00eba562291413930da2fb586c8f116ee2 # Parent 45a8df25478817f319b5f4499e8d19162a6073c7 Include lisp.h, not ../src/lisp.h. (make_drawing_gcs): Remove unused `xswa', `mask'. diff -r 45a8df254788 -r d4196d00eba5 lwlib/xlwmenu.c --- 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 #endif -#include "../src/lisp.h" +#include "lisp.h" #include @@ -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;