]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation error in lwlib/xlwmenu.c.
authorKaroly Lorentey <lorentey@elte.hu>
Wed, 24 May 2006 12:14:26 +0000 (12:14 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Wed, 24 May 2006 12:14:26 +0000 (12:14 +0000)
* 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

lwlib/xlwmenu.c

index 1a0dcf7d0b31fd12c5ec22ca77b09f8de6f6a7fe..b01569ca5ab75236cc84c345002cc4b9fa8660d9 100644 (file)
@@ -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);