summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2006-05-24 12:14:26 +0000
committerKaroly Lorentey <lorentey@elte.hu>2006-05-24 12:14:26 +0000
commit47429f013e09dd7cf110fe429c6067141f37b46f (patch)
tree57959eafcceff061f7a206e10e56a32b0ae9c543 /lwlib
parent60615b3098b05d18a1605aa72ecf1de9937aaf08 (diff)
downloademacs-47429f013e09dd7cf110fe429c6067141f37b46f.tar.gz
Fix compilation error in lwlib/xlwmenu.c.
* lwlib/xlwmenu.c (XlwMenuRealize): Fix x_catch_errors and x_uncatch_errors invocation. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-568
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 1a0dcf7d0b3..b01569ca5ab 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -1824,11 +1824,11 @@ XlwMenuRealize (w, valueMask, attributes)
frame on a display. I can not find their reason, but they are
annoying so for now let's ignore any errors here. -- lorentey */
#ifdef emacs
- count = x_catch_errors (XtDisplay (w));
+ x_catch_errors (XtDisplay (w));
#endif
XChangeWindowAttributes (XtDisplay (w), XtWindow (w), mask, &xswa);
#ifdef emacs
- x_uncatch_errors (XtDisplay (w), count);
+ x_uncatch_errors ();
#endif
mw->menu.windows [0].window = XtWindow (w);