home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8187 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1001 b 

  1. Xref: sparky comp.windows.x.motif:8187 comp.windows.x.intrinsics:682
  2. Path: sparky!uunet!noc.near.net!ceylon!roger.gte.com!mbr0
  3. From: mbr0@roger.gte.com (Mark Rosenthal)
  4. Newsgroups: comp.windows.x.motif,comp.windows.x.intrinsics
  5. Subject: Help with MrmFetchWidget() and XtDestroy()
  6. Message-ID: <4949@ceylon.gte.com>
  7. Date: 23 Dec 92 00:38:10 GMT
  8. Sender: news@ceylon.gte.com
  9. Followup-To: comp.windows.x.motif
  10. Organization: GTE Laboratories
  11. Lines: 12
  12.  
  13.  
  14. I have an application in which there can be an arbitrary number of dialog
  15. shells created using the same template.  I am using UIL and creating the
  16. shell and its children with MrmFetchWidget().  When the user clicks on the
  17. close button in the dialog, the close callback calls XtDestroy() on the dialog.
  18. The next time the user asks for a dialog from the same template and
  19. MrmFetchWidget() is called the code crashes with a segmentation violation.
  20.  
  21. Does anybody know of anything to watch out for when using MrmFetchWidget()
  22. and XtDestroy()?
  23.  
  24.     mbr0@gte.com
  25.