Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!kit From: kit@ATHENA.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: XtSetArg bug Message-ID: <8903140123.AA14107@DORA.MIT.EDU> Date: 14 Mar 89 01:23:47 GMT References: <118@kauai.ACA.MCC.COM> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 31 > Well this is a goofy one. The following doesn't work: > (X11R3 no less; and with a List widget) > Arg arg; > XtSetArg(arg, XtNcallback, callrec); > XtSetValues(widget, arg, ONE); Try this: XtSetValues(widget, &arg, ONE); ^ | > Some artifact of the XtSetArg macro no doubt. Yuck. > (I'm Mailing to xbugs too) Don't, this is not a bug. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139