Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!pp!kauai!duanev From: duanev@kauai.ACA.MCC.COM (Duane Voth) Newsgroups: comp.windows.x Subject: XtSetArg bug Summary: better be an array of args bub Message-ID: <118@kauai.ACA.MCC.COM> Date: 13 Mar 89 22:39:36 GMT Organization: MCC, Austin, TX Lines: 25 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); Seems to segviol down in XtSetValues. The work around is: Arg arg[1]; XtSetArg(arg[0], XtNcallback, callrec); XtSetValues(widget, arg, ONE); Some artifact of the XtSetArg macro no doubt. Yuck. (I'm Mailing to xbugs too) duane -- --- Effectiveness is the measure of Truth: ---- ALL systems are arbitrary! --- duane voth duanev@mcc.com --