home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x.motif:8187 comp.windows.x.intrinsics:682
- Path: sparky!uunet!noc.near.net!ceylon!roger.gte.com!mbr0
- From: mbr0@roger.gte.com (Mark Rosenthal)
- Newsgroups: comp.windows.x.motif,comp.windows.x.intrinsics
- Subject: Help with MrmFetchWidget() and XtDestroy()
- Message-ID: <4949@ceylon.gte.com>
- Date: 23 Dec 92 00:38:10 GMT
- Sender: news@ceylon.gte.com
- Followup-To: comp.windows.x.motif
- Organization: GTE Laboratories
- Lines: 12
-
-
- I have an application in which there can be an arbitrary number of dialog
- shells created using the same template. I am using UIL and creating the
- shell and its children with MrmFetchWidget(). When the user clicks on the
- close button in the dialog, the close callback calls XtDestroy() on the dialog.
- The next time the user asks for a dialog from the same template and
- MrmFetchWidget() is called the code crashes with a segmentation violation.
-
- Does anybody know of anything to watch out for when using MrmFetchWidget()
- and XtDestroy()?
-
- mbr0@gte.com
-