+/*
+ * 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: af_aux.c /main/6 1998/04/06 13:14:19 mgreess $ */
/******************************************************************************/
/* */
#include <Xm/RowColumnP.h>
#include <Xm/MessageB.h>
#include <Xm/FileSB.h>
+#include <Xm/List.h>
#include <sys/stat.h>
#if defined(AIXV3)
# include <sys/dir.h>
#include "dtcreate.h"
#include "af_aux.h"
+#include "cmncbs.h"
#include "cmnutils.h"
#include "cmnrtns.h"
+#include "ErrorDialog.h"
+#include "FileCharacteristics.h"
/******************************************************************************/
/* */
printf("DblClick icon callback.\n");
#endif
- activateCB_edit_icon(wid, CA_FILETYPE_ICONS, cbs);
+ activateCB_edit_icon(wid, (XtPointer)CA_FILETYPE_ICONS,
+ (XmPushButtonCallbackStruct *)cbs /* unused anyway */);
}
/* Tiny Bitmap */
/***************************************************************/
if ( (pIconData->bmDirtyBit) &&
- (pIconData->bmFileName) &&
(strlen(pIconData->bmFileName)) ) {
pFiletypedata->pszTinyBmIcon = XtMalloc(strlen(pIconData->bmFileName) + 1);
if (pFiletypedata->pszTinyBmIcon) {