dtcreate: Add missing prototypes and more (64-bit)

- Fix missing prototypes
- Fix some 64-bit related problems (XtVaGetValues)
- Fix crash on dtcreate startup in create_applicationShell1()
- Add XmeFlushIconFileCache() prototype from <Xm/IconFileP.h>
This commit is contained in:
Marcin Cieslak
2012-09-30 00:16:31 +02:00
committed by Jon Trulson
parent 3eaeffaf7e
commit 27bc7d6bec
23 changed files with 112 additions and 50 deletions

View File

@@ -128,7 +128,7 @@ CREATION: Visual Edge Software Sept 19/91
-----------------------------------------------------------------------------*/
static int handle_dialog_child( Widget wgt, void (*manage_func)(Widget) )
{
int i, num_children;
XtArgVal i, num_children;
Widget *children;
int error_flag = UX_ERROR;
@@ -284,7 +284,7 @@ void UxDeleteContextCB( Widget wgt, XtPointer client_data,
(void) XDeleteContext( XtDisplay( UxTopLevel ),
(Window) wgt,
(XContext) client_data );
(XContext)(XtArgVal) client_data );
}
/******************************************************************************
@@ -323,7 +323,7 @@ int UxPutContext( Widget wgt, caddr_t context )
return ( UX_ERROR );
XtAddCallback (wgt, XmNdestroyCallback,
UxDeleteContextCB, (XtPointer) xcontext_id);
UxDeleteContextCB, (XtPointer)(XtArgVal) xcontext_id);
return ( UX_NO_ERROR );
}