Path: utzoo!attcan!uunet!husc6!bloom-beacon!ATHENA.MIT.EDU!swick
From: swick@ATHENA.MIT.EDU (Ralph R. Swick)
Newsgroups: comp.windows.x
Subject: Re: XtGetValues() and XtMoveWidget()
Message-ID: <8808161301.AA00604@LYRE.MIT.EDU>
Date: 16 Aug 88 13:01:51 GMT
References: <7266@burdvax.PRC.Unisys.COM>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: DEC/MIT Project Athena
Lines: 12


    Date: 12 Aug 88 20:09:19 GMT
    From: coltoff@burdvax.prc.unisys.com  (Joel Coltoff)

    The only thing I noticed is that if you use XtGetValues()
    twice in the same function you need to say arg[0].values = 0;
    before you call it or it dumps core.

Nope.  You have to store a pointer to the desired destination in
the arglist for XtGetValues.  See section 11.8.1.  Storing a NULL
pointer appears to work because of some backwards compatibility
code that will disappear from a (unspecified) future release.