On Sat, 22 Sep 2012, Marcin Cieslak wrote:
> When asking for data using XtVaGetValue()
> make sure that there is enough place for
> the return value (which is sometimes XtPointer).
> Providing pointer to (int) is not enough.
>
> Cast XtPointer into requested int types
> directly, which unfortunate
On Fri, 21 Sep 2012, Marcin Cieslak wrote:
> + union {
> + XtPointer ptr;
> + Dimension dim;
> + } wide;
> + XtVaGetValues(dir_label, XmNwidth, &wide.ptr, NULL);
> + d_width = wide.dim;
> + XtVaGetValues(file_label, XmNwidth, &wide.ptr, NULL);
> + f_width = wide.dim;
Sorry, t