dtfile: Add missing prototypes
Add missing prototypes and header files to the dtfile code in order to move closer towards 64-bit compatibility. Extract the following functions from Motif internal headers: _XmGetWidgetExtData _XmRecordEvent _XmStringUngenerate _XmTextFieldSetDestination _XmGetActiveTopLevelMenu Extract manually prototypes of the obsolete Motif interface: _XmHighlightBorder _XmUnhighlightBorder Remove XmPrivate.h if extractprototype.awk fails Make the following header files available via -I: codelibs/boolean.h codelibs/pathutils.h codelibs/shellutils.h and remove shellutils.h from dtwm directory.
This commit is contained in:
committed by
Jon Trulson
parent
f55dfc34c0
commit
1079b56422
@@ -138,6 +138,7 @@
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/MwmUtil.h>
|
||||
|
||||
#include <Xm/IconFileP.h>
|
||||
#include <Dt/Icon.h>
|
||||
#include <Dt/IconP.h>
|
||||
#include <Dt/IconFile.h>
|
||||
@@ -156,6 +157,7 @@
|
||||
#include <X11/Xmu/Editres.h>
|
||||
#endif
|
||||
#include <Dt/Session.h>
|
||||
#include <Dt/Dt.h>
|
||||
#include <Dt/DtP.h>
|
||||
#include <Dt/Connect.h>
|
||||
#include <Dt/FileM.h>
|
||||
@@ -168,6 +170,7 @@
|
||||
#include <Dt/CommandM.h>
|
||||
#include <Dt/EnvControlP.h>
|
||||
#include <Dt/Dts.h>
|
||||
#include <Dt/SharedProcs.h>
|
||||
|
||||
#include "Encaps.h"
|
||||
#include "SharedProcs.h"
|
||||
@@ -185,6 +188,24 @@
|
||||
#include "Find.h"
|
||||
#include "ModAttr.h"
|
||||
|
||||
/* From Command.c */
|
||||
extern void MoveCopyLinkHandler(Tt_message ttMsg, int opType);
|
||||
|
||||
/* From Desktop.c */
|
||||
extern void PutOnWorkspaceHandler(Tt_message ttMsg);
|
||||
|
||||
/* From Filter.c */
|
||||
extern void UpdateFilterAfterDBReread (DialogData * dialog_data);
|
||||
|
||||
/* From ToolTalk.c */
|
||||
extern int InitializeToolTalkSession( Widget topLevel, int ttFd );
|
||||
extern Tt_status InitializeToolTalkProcid( int *ttFd, Widget topLevel, Boolean sendStarted );
|
||||
extern void FinalizeToolTalkSession();
|
||||
/* From Trash.c */
|
||||
void CloseTrash(Widget w, XtPointer client_data, XtPointer call_data) ;
|
||||
|
||||
|
||||
|
||||
/* When openDir resource is set to NEW
|
||||
File Manager will use this prefix to find for a different icon
|
||||
to display.
|
||||
@@ -1626,7 +1647,7 @@ _DtPerfChkpntMsgSend("Begin XtInitialize");
|
||||
mod_attr_dialog = _DtInstallDialog (modAttrClass, True, True);
|
||||
help_dialog = _DtInstallDialog (helpClass, False, False);
|
||||
|
||||
if(special_view == True && special_restricted != NULL);
|
||||
if(special_view == True && special_restricted != NULL) {
|
||||
if(strncmp(special_restricted, "~", 1) == 0)
|
||||
{
|
||||
char *ptr, *ptr1;
|
||||
@@ -1637,6 +1658,7 @@ _DtPerfChkpntMsgSend("Begin XtInitialize");
|
||||
if(ptr1[0] == '\0')
|
||||
*ptr = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
/* Setup the settings file if any to setup */
|
||||
RestoreSettingsFile();
|
||||
@@ -2988,7 +3010,7 @@ RestoreSession(
|
||||
status = DtSessionRestorePath(toplevel, &full_path, path);
|
||||
|
||||
if (!status)
|
||||
return;
|
||||
return(-1);
|
||||
|
||||
if (stat(full_path, &stat_buf) != 0)
|
||||
{
|
||||
@@ -4393,7 +4415,7 @@ ViewDirectoryProc(
|
||||
XtFree(errTitle);
|
||||
XtFree(errMsg);
|
||||
XtFree(dmsg);
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user