diff options
author | Dave Love <fx@gnu.org> | 2003-05-22 13:37:50 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2003-05-22 13:37:50 +0000 |
commit | 1520f7b4ad07e16b23dab57064089b57026e7ccd (patch) | |
tree | b7a2397aa7ace68da5a5471f2e66372c5d278c86 /lwlib | |
parent | e9d86806e60a3270c22292a77d48e1c9a4bf12d5 (diff) | |
download | emacs-1520f7b4ad07e16b23dab57064089b57026e7ccd.tar.gz |
Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/xlwmenu.c | 8 |
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; |