Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
404074e2
Commit
404074e2
authored
May 22, 2003
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.
parent
e226063c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
lwlib/ChangeLog
lwlib/ChangeLog
+10
-0
lwlib/xlwmenu.c
lwlib/xlwmenu.c
+1
-7
No files found.
lwlib/ChangeLog
View file @
404074e2
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
...
...
lwlib/xlwmenu.c
View file @
404074e2
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment