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

@@ -253,7 +253,7 @@ ds_force_popup_on_screen(Widget popup, int *popup_x_p, int *popup_y_p) {
XtVaSetValues(popup,
XmNx, left,
XmNy, top,
0) ;
NULL) ;
if (popup_x != *popup_x_p || popup_y != *popup_y_p) rcode = TRUE ;
else rcode = FALSE ;

View File

@@ -277,7 +277,7 @@ p_create_editor_pane(
}
}
XtVaGetValues(pu->ep_dur_cb, XmNtextField, &text_field, 0);
XtVaGetValues(pu->ep_dur_cb, XmNtextField, &text_field, NULL);
XtAddCallback(text_field, XmNvalueChangedCallback, p_mark_change, pu);
XtAddCallback(pu->ep_dur_cb, XmNselectionCallback, p_mark_change, pu);