Fix warnings in dtwm
- Improve pointer/int compatibility - Include unpublished Dt headers in Dt - Use <Xm/XmPrivate.h> for unpublished Motif functions There are still warnings left generated because ElementValue.parsed_value should really be a union. There are also some warnings left because of XtPointer casting and some unused variables and functions.
This commit is contained in:
committed by
Jon Trulson
parent
8a57173ec2
commit
6e37640f11
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "DataBaseLoad.h"
|
||||
#include "WmGlobal.h"
|
||||
#include "UI.h"
|
||||
|
||||
#define POPUP_CHILDREN 7
|
||||
|
||||
@@ -963,8 +964,8 @@ SetupActionMenuItems (Widget w,
|
||||
{
|
||||
action_item[action_index] =
|
||||
XmCreatePushButtonGadget (w, "action_button", args, 0);
|
||||
|
||||
*action_count++;
|
||||
|
||||
(*action_count)++;
|
||||
|
||||
XtManageChild (action_item[action_index]);
|
||||
XtAddCallback (action_item[action_index], XmNactivateCallback,
|
||||
|
||||
Reference in New Issue
Block a user