Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!pixel.UUCP!twebb From: twebb@pixel.UUCP (Tracy Webb) Newsgroups: comp.windows.x Subject: XtDestroyWidget Message-ID: <9010101845.AA22734@pixel> Date: 10 Oct 90 18:45:36 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 24 Hey, We have an application that used to work but in now broken. We have converted all Xt* to XtApp* where necessary but still we can't destroy our widget hierarchy. Here's what were doing. Has anyone else had similar problems?? Anyone have a clue as to what we're doing incorrectly & how to fix it??? static void quit_proc(w,data,call_data) Widget w; caddr_t data; XmAnyCallbackStruct *call_data; { Widget w1,w2,w3; w1 = XtParent(w); w2 = XtParent(w1); w3 = XtParent(w2); XtDestroyWidget(w3); } Thanks for the help!! Tracy