Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: XtGetValues. Message-ID: <8908281449.AA25659@LYRE.MIT.EDU> Date: 28 Aug 89 14:49:27 GMT References: <3707@ncsuvx.ncsu.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 12 > I am having trouble using XtGetValues. Here's a piece of code that doesn't > work right. >... > > int height,width; > > XtSetArg(size_args[0],XtNheight,(XtArgVal)&height); > XtSetArg(size_args[1],XtNwidth,(XtArgVal)&width); height and width are of type Dimension. Dimension and int may or may not be the same, depending on the implementation. In the implementation you are using they are almost certainly not the same.