Mercurial > hg > xemacs-beta
diff lwlib/xlwgauge.h @ 3968:16b17fd1dc93
[xemacs-hg @ 2007-05-20 15:56:30 by stephent]
Fix type declarations in progress gauge widget. <873b1r8owl.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sun, 20 May 2007 15:56:36 +0000 |
parents | abe6d1db359e |
children | 308d34e9f07d |
line wrap: on
line diff
--- a/lwlib/xlwgauge.h Sat May 19 21:51:03 2007 +0000 +++ b/lwlib/xlwgauge.h Sun May 20 15:56:36 2007 +0000 @@ -48,9 +48,9 @@ Name Class RepType Default Value ---- ----- ------- ------------- - value Value Cardinal 0 - minValue MinValue Cardinal 0 - maxValue MaxValue Cardinal 100 + value Value Int 0 + minValue Int Cardinal 0 + maxValue Int Cardinal 100 ntics NTics Cardinal 0 + nlabels NLabels Cardinal 0 ++ labels Labels String * NULL +++ @@ -100,7 +100,7 @@ XtPointer client ; XtPointer rval ; { - *(Cardinal *)rval = value ; + *(int *)rval = value ; } */ @@ -169,11 +169,11 @@ extern void XawGaugeSetValue( #if NeedFunctionPrototypes Widget gauge, - Cardinal value + int value #endif ); -extern Cardinal XawGaugeGetValue( +extern int XawGaugeGetValue( #if NeedFunctionPrototypes Widget gauge #endif