cleanup: eliminate missing sentinel warnings

This commit is contained in:
Jon Trulson
2014-03-24 18:26:10 -06:00
parent 165af415d1
commit 4312a1190b
12 changed files with 41 additions and 41 deletions

View File

@@ -294,7 +294,7 @@ Widget owner;
Widget delNoticeW = NULL;
delNoticeW = CreateDelNotice(owner);
XtVaSetValues(XtParent(delNoticeW), XmNmappedWhenManaged, False, 0);
XtVaSetValues(XtParent(delNoticeW), XmNmappedWhenManaged, False, NULL);
XtManageChild(delNoticeW);
for ( i=0 ; i < dn.disp_num ; i++ ) {
@@ -304,7 +304,7 @@ Widget owner;
drawDelCode(i);
drawDelPtn(i);
}
XtVaSetValues(XtParent(delNoticeW), XmNmappedWhenManaged, True, 0);
XtVaSetValues(XtParent(delNoticeW), XmNmappedWhenManaged, True, NULL);
XBell(XtDisplayOfObject(delNoticeW), 0);
}

View File

@@ -183,7 +183,7 @@ int i;
XtVaSetValues( wgeStaT_list[i],
XmNbackground, (XtArgVal) resource.foreground,
XmNforeground, (XtArgVal) resource.background,
0);
NULL);
xl.list_winID = XtWindow( wgeStaT_disp[i] ) ;
}
@@ -194,8 +194,8 @@ int i;
XtVaSetValues( wgeStaT_list[i],
XmNbackground, (XtArgVal) resource.background,
XmNforeground, (XtArgVal) resource.foreground,
0);
xl.list_winID = NULL ;
NULL);
xl.list_winID = 0 ;
}
void
@@ -505,7 +505,7 @@ Widget owner;
}
/* create the scroll bar for Charcter list */
XtVaGetValues( listBase, XmNheight, &(edlist.list_h), 0);
XtVaGetValues( listBase, XmNheight, &(edlist.list_h), NULL);
if (( slimax = efctPtnNum()) < edlist.nlist)
slimax = edlist.nlist;