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
@@ -189,7 +189,7 @@ dtInitializeMessaging(Widget toplevel)
|
||||
default_session = tt_default_session();
|
||||
status = tt_ptr_error(default_session);
|
||||
if (status != TT_OK) {
|
||||
GETMESSAGE(2, 4, "Could not get default ToolTalk session:\n%s\n");
|
||||
errfmt = GETMESSAGE(2, 4, "Could not get default ToolTalk session:\n%s\n");
|
||||
ToolTalkError(toplevel, errfmt, status);
|
||||
return;
|
||||
}
|
||||
@@ -238,6 +238,7 @@ dtInitializeMessaging(Widget toplevel)
|
||||
ToolTalkError(toplevel, errfmt, status);
|
||||
return;
|
||||
}
|
||||
|
||||
tt_free( default_session );
|
||||
status = tt_pattern_class_add(notice_pattern, TT_NOTICE);
|
||||
if (status != TT_OK) {
|
||||
|
||||
Reference in New Issue
Block a user