[comp.windows.x] Widget Error

Sticks@cup.portal.com (Erich S Proudfit) (04/27/91)

Hi there.
 
I'm VERY new to X-Windows and only know a little bit about 'C', but I can
get around a bit too.  I recently got the Xtetris Source code and have begun
to compile it.  It seems to compile ok as long as I remove a few .h files that
don't exsist on my system from the Makefile.  They were stdtypes.h & something
like fcntlog.h (or something like that, I can't remember exactly).
 
I get this error when I run the compiled program.
Error: Widge NextObject has zero width and or height.

I found this item in main.c and the 2 lines in main.c are
 
NextObjectlabel=XtCreateManagedWidget ("NextObjectLabel",labelWidgeClass, 
frame, NULL, (Cardinal)0);
&
NextObject=XtCreateManagedWidget ("NextObject", simpleWidgeClass, frame,
NULL, (Cardinal)0);

A few upper/lower case errors in the above might be due to lousy notes, but
if anybody can help me fix this error, I would appreciate it greatly.
 
Erich Proudfit
Sticks@cup.portal.com (Erich S Proudfit)