+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with these librararies and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
/* $TOG: todo.c /main/12 1999/07/01 09:24:05 mgreess $ */
/*
* (c) Copyright 1993, 1994 Hewlett-Packard Company
XmNvalueChangedCallback, t_view_change_proc, t);
step->next = NULL;
- step->appt = NULL;
+ step->appt = 0;
if (last) {
XtVaSetValues(step->view_item_number,
XmNtopAttachment, XmATTACH_WIDGET,
XtManageChild(step->view_item_number);
XtManageChild(step->view_item_toggle);
}
- if (step->appt != NULL)
+ if (step->appt != 0)
csa_free((CSA_buffer) step->appt);
step->appt = entry_list[cnt - 1];
step->modified = False;
** possibly filled with old stuff -- unmanage these widgets.
*/
while (step) {
- if (step->appt != NULL)
+ if (step->appt != 0)
csa_free((CSA_buffer) step->appt);
XtUnmanageChild(step->view_item_number);
XtUnmanageChild(step->view_item_toggle);
* occurred.
*/
_DtTurnOffHourGlass(t->frame);
- return;
+ return 0;
case 4:
default:
/*
if (stat != CSA_SUCCESS) {
_DtTurnOffHourGlass(t->frame);
- return;
+ return 0;
}
csa_free((CSA_buffer) new_a);