aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-05-22 13:38:44 +0000
committerDave Love2003-05-22 13:38:44 +0000
commit404074e2262e0f8a576646c837b779d87db768ab (patch)
treebd2150e26345949bb728f17f1111edce94ed0051
parente226063c2f509ec56a17121fbcbf1156259c549c (diff)
downloademacs-404074e2262e0f8a576646c837b779d87db768ab.tar.gz
emacs-404074e2262e0f8a576646c837b779d87db768ab.zip
Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.
-rw-r--r--lwlib/ChangeLog10
-rw-r--r--lwlib/xlwmenu.c8
2 files changed, 11 insertions, 7 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index 56637620010..003af091fba 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,3 +1,13 @@
12003-05-22 Dave Love <fx@gnu.org>
2
3 * xlwmenu.c: Include lisp.h, not ../src/lisp.h.
4 (make_drawing_gcs): Remove unused `xswa', `mask'.
5
6 * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h.
7 (lw_lucid_widget_p): Remove unused `mw'.
8 (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: Provide
9 ISO C arglists.
10
12003-04-30 Lute Kamstra <Lute.Kamstra@cwi.nl> 112003-04-30 Lute Kamstra <Lute.Kamstra@cwi.nl>
2 12
3 * Makefile.in: Make things function properly in case both LessTif 13 * Makefile.in: Make things function properly in case both LessTif
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. */
25#include <config.h> 25#include <config.h>
26#endif 26#endif
27 27
28#include "../src/lisp.h" 28#include "lisp.h"
29 29
30#include <stdio.h> 30#include <stdio.h>
31 31
@@ -1707,8 +1707,6 @@ XlwMenuInitialize (request, mw, args, num_args)
1707 Cardinal *num_args; 1707 Cardinal *num_args;
1708{ 1708{
1709 /* Get the GCs and the widget size */ 1709 /* Get the GCs and the widget size */
1710 XSetWindowAttributes xswa;
1711 int mask;
1712 1710
1713 Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw))); 1711 Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw)));
1714 Display* display = XtDisplay (mw); 1712 Display* display = XtDisplay (mw);
@@ -1739,10 +1737,6 @@ XlwMenuInitialize (request, mw, args, num_args)
1739 make_drawing_gcs (mw); 1737 make_drawing_gcs (mw);
1740 make_shadow_gcs (mw); 1738 make_shadow_gcs (mw);
1741 1739
1742 xswa.background_pixel = mw->core.background_pixel;
1743 xswa.border_pixel = mw->core.border_pixel;
1744 mask = CWBackPixel | CWBorderPixel;
1745
1746 mw->menu.popped_up = False; 1740 mw->menu.popped_up = False;
1747 1741
1748 mw->menu.old_depth = 1; 1742 mw->menu.old_depth = 1;