Article View: comp.windows.x
Article #36522Re: xrn core dump
From: Andrew Wason
Date: Wed, 07 Feb 1990 21:22
Date: Wed, 07 Feb 1990 21:22
65 lines
2322 bytes
2322 bytes
In article <21719@pasteur.Berkeley.EDU>, ricks@fraud.Berkeley.EDU (Rick
L. Spickelmier) writes:
> You can work around the xrn core dump problem on suns and
> hps by commenting out the calls to XawPanedConfigureMode
> in buttons.c (2 groups of 2 calls). I have tested this
> out on a sparcstation 1 using static and dynamic libraries.
> The opening screen is a little screwed up, but everything
> else is fine.
The problem is XawPanedConfigureMode() is being
passed a widget of class boxWidgetClass when it
expects panedWidgetClass.
Patches to xrn follow.
------------
Andrew Wason
Bellcore
aw@cellar.bae.bellcore.com
bellcore!cellar!aw
*** buttons.c.orig Tue Feb 6 09:22:14 1990
--- buttons.c Tue Feb 6 10:57:26 1990
***************
*** 998,1005 ****
#ifndef R3
XawTextDisableRedisplay(ArticleText);
! XawPanedSetRefigureMode(TopButtonBox, False);
! XawPanedSetRefigureMode(BottomButtonBox, False);
#endif
/*
--- 998,1005 ----
#ifndef R3
XawTextDisableRedisplay(ArticleText);
! XawPanedSetRefigureMode(XtParent(TopButtonBox), False);
! XawPanedSetRefigureMode(XtParent(BottomButtonBox), False);
#endif
/*
***************
*** 1160,1167 ****
ehErrorExitXRN(error_buffer);
}
#ifndef R3
! XawPanedSetRefigureMode(TopButtonBox, True);
! XawPanedSetRefigureMode(BottomButtonBox, True);
XawTextEnableRedisplay(ArticleText);
#endif
return;
--- 1160,1167 ----
ehErrorExitXRN(error_buffer);
}
#ifndef R3
! XawPanedSetRefigureMode(XtParent(TopButtonBox), True);
! XawPanedSetRefigureMode(XtParent(BottomButtonBox), True);
XawTextEnableRedisplay(ArticleText);
#endif
return;
Technical Details
Message-ID:
<19782@bellcore.bellcore.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!usc!rutgers!bellcore!cellar!awReferences:
<21719@pasteur.Berkeley.EDU> <21703@pasteur.Berkeley.EDU> <21696@pasteur.Berkeley.EDU> <1990Feb1.021650.27017@arp.anu.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!usc!rutgers!bellcore!cellar!aw From: aw@cellar.bellcore.com (Andrew Wason) Newsgroups: comp.windows.x Subject: Re: xrn core dump Message-ID: <19782@bellcore.bellcore.com> Date: 7 Feb 90 21:22:41 GMT References: <21719@pasteur.Berkeley.EDU> <21703@pasteur.Berkeley.EDU> <21696@pasteur.Berkeley.EDU> <1990Feb1.021650.27017@arp.anu.oz.au> Sender: news@bellcore.bellcore.com Reply-To: aw@cellar.bellcore.com (Andrew Wason) Organization: Bell Communications Research Lines: 65