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
@@ -149,6 +149,7 @@
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <ctype.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
#include <Xm/XmP.h>
|
||||
#include <Xm/Xm.h>
|
||||
@@ -169,8 +170,10 @@
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/LabelG.h>
|
||||
#include <Xm/PushBG.h>
|
||||
#include <Xm/ToggleBG.h>
|
||||
#include <Xm/SeparatoG.h>
|
||||
#include <Xm/ScrollBar.h>
|
||||
#include <Xm/ScrolledW.h>
|
||||
#include <Xm/TextF.h>
|
||||
#include <Xm/Frame.h>
|
||||
#include <Xm/Screen.h>
|
||||
@@ -194,9 +197,12 @@
|
||||
#include <Dt/HourGlass.h>
|
||||
#include <Dt/Dts.h>
|
||||
#include <Dt/UserMsg.h>
|
||||
#include <Dt/SharedProcs.h>
|
||||
|
||||
#include <Tt/tttk.h>
|
||||
|
||||
#include <Xm/XmPrivate.h> /* _XmIsEventUnique _XmSetInDragMode _XmRecordEvent */
|
||||
|
||||
#include "Encaps.h"
|
||||
#include "SharedProcs.h"
|
||||
#include "FileMgr.h"
|
||||
@@ -415,6 +421,12 @@ static int dragIconPixmapOffsetY;
|
||||
FileMgrPopup fileMgrPopup = {NULL};
|
||||
|
||||
|
||||
/* Obsolete Motif highlighting and unhighlighting routines */
|
||||
extern void _XmHighlightBorder(Widget w);
|
||||
extern void _XmUnhighlightBorder(Widget w);
|
||||
|
||||
extern void SelectDTFile (DesktopRec *desktopWindow);
|
||||
|
||||
/************************************************************************
|
||||
************************************************************************
|
||||
*
|
||||
@@ -7246,7 +7258,7 @@ DisplayWorkProc(
|
||||
|
||||
dialog_data = _DtGetInstanceData ((XtPointer)file_mgr_rec);
|
||||
if (dialog_data == NULL)
|
||||
return;
|
||||
return False;
|
||||
|
||||
file_mgr_data = (FileMgrData *) dialog_data->data;
|
||||
file_window = (XmManagerWidget) file_mgr_rec->file_window;
|
||||
|
||||
Reference in New Issue
Block a user