aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2006-05-24 12:14:26 +0000
committerKaroly Lorentey2006-05-24 12:14:26 +0000
commit16b555334ab54bd28c46edfed569e203632db228 (patch)
tree649dfa71e7abf189e89815b96aa195d3b545a96c
parent40a1b46245c1a8786324f5a06d6cb8d4bd9d5b74 (diff)
downloademacs-16b555334ab54bd28c46edfed569e203632db228.tar.gz
emacs-16b555334ab54bd28c46edfed569e203632db228.zip
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
-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)
1824 frame on a display. I can not find their reason, but they are 1824 frame on a display. I can not find their reason, but they are
1825 annoying so for now let's ignore any errors here. -- lorentey */ 1825 annoying so for now let's ignore any errors here. -- lorentey */
1826#ifdef emacs 1826#ifdef emacs
1827 count = x_catch_errors (XtDisplay (w)); 1827 x_catch_errors (XtDisplay (w));
1828#endif 1828#endif
1829 XChangeWindowAttributes (XtDisplay (w), XtWindow (w), mask, &xswa); 1829 XChangeWindowAttributes (XtDisplay (w), XtWindow (w), mask, &xswa);
1830#ifdef emacs 1830#ifdef emacs
1831 x_uncatch_errors (XtDisplay (w), count); 1831 x_uncatch_errors ();
1832#endif 1832#endif
1833 1833
1834 mw->menu.windows [0].window = XtWindow (w); 1834 mw->menu.windows [0].window = XtWindow (w);